# Upgraded to Lenses and the group permissions do not work as they should

**URL:** <https://ask.lenses.io/t/upgraded-to-lenses-and-the-group-permissions-do-not-work-as-they-should/79>\
**Category:** Lenses\
**Created:** [June 11, 2023, 10:41am UTC](https://ask.lenses.io/t/upgraded-to-lenses-and-the-group-permissions-do-not-work-as-they-should/79 "2023-06-11T10:41:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stheppi](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/stheppi/32/30_2.png) [@stheppi](https://ask.lenses.io/u/stheppi)\
**Post date:** [June 11, 2023, 10:41am UTC](https://ask.lenses.io/t/upgraded-to-lenses-and-the-group-permissions-do-not-work-as-they-should/79/1 "2023-06-11T10:41:04Z")

</div>

I have a Lenses group setup with a namespace permission like this:

`team.project.topicA.*`.

The users part of this group can see topics like

`team.project.topicA.extra` or `team.project.topicA-extra`.

After upgrading to Lenses 5.2.2 the user can only see:

`team.project.topicA.extra`.

What changed and how can it be fixed?

---

<div class="post-metadata">

**Author:** ![stheppi](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/stheppi/32/30_2.png) [@stheppi](https://ask.lenses.io/u/stheppi)\
**Post date:** [June 11, 2023, 10:43am UTC](https://ask.lenses.io/t/upgraded-to-lenses-and-the-group-permissions-do-not-work-as-they-should/79/2 "2023-06-11T10:43:48Z")

</div>

Before Lenses 5.2.2 and 4.3.10, Lenses had a bug where namespace permission was checked/validated using a regular expression. The Lenses ACLs specification requires only wildcard rules, not regex rules.

Considering the setup: `team.project.topicA.*` to replicate the behaviour before the fix, the group namespace permission has to be changed to: `team.project.topicA*`.
