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

plone.app.vocabularies.Users vocabulary does not remove already selected users for Site Admin role. #3944

Open
ewohnlich opened this issue Apr 25, 2024 · 1 comment

Comments

@ewohnlich
Copy link
Contributor

What I did:

This can be demonstrated with the Creators field. I tested as Manager and as Site Administrator. I selected one user from the list, let's call this UserA.

What I expect to happen:

Pulling up the drop down no longer includes UserA.

What actually happened:

As Manager: UserA does not appear in the dropdown
As Site Admin: UserA still appears in the dropdown

What version of Plone/ Addons I am using:

6.0.10, on classic.plone.org

I would guess this has something to do with a permission somewhere?

@ewohnlich
Copy link
Contributor Author

I guess this probably isn't a problem with the vocabulary, but with the widget or just the JS. The results of @@getVocabulary?name=plone.app.vocabularies.Users&field=creators&query=&page_limit=10&page=1 are the same for both. But for Manager it's filtering out UserA, but not for Site Admin.

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

1 participant