Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Membergroup picker uses logged in CMS user's account #443

Open
1 task done
smarshallsay opened this issue Jan 16, 2025 · 0 comments
Open
1 task done

Membergroup picker uses logged in CMS user's account #443

smarshallsay opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@smarshallsay
Copy link

Which Contentment version are you using?

5.1.0

Which Umbraco version are you using? For example: 13.2.1 - don't just write v13

13.5.2

Bug summary

Membergroup picker does not return results if the user does not have access to view members and member groups.
We were using this to restrict page access, if the page was loaded by said user, the picker would throw an error when the page was loaded in the CMS and return no items. The problem being that the page could still be saved by that person but of course it would be saved with a blank list of member groups and remove restrictions for that page!

Datalist with member groups does not have this issue, a user with no membergroup access can still use the picker.

Steps to reproduce

Add membergroup picker to page and set member groups, load and save page with a user with no member / membergroup access

Expected result / actual result

Expected:
Member groups returned and selection can be changed.

Actual:
Member groups not returned, if page saved then a blank list is saved.

Do you have Umbraco ModelsBuilder enabled?

  • Yes, it is enabled.

What browsers are you seeing the problem on?

Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants