-
Notifications
You must be signed in to change notification settings - Fork 466
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
[Templates] Limited user cannot get list of Containers it has access to. #14134
Comments
PR: #14138 |
I just tested on Postgres and Template list opens extremely slow for a limited user... canceling a template takes a long time. And at first, the containers did not show up at all. Then later after several logins, they started appearing. In mysql, even after several attempts, I could not get container list to load and experience the same extremely slow behavior. I also got several javascript errors on the page: |
@DeanGonzalez I had the same behavior too while I was doing some tests. Thought it was something related to my local, but indeed seems to be a performance related issue. |
…itedUser by TemplateAPI#findTemplatesUserCanUse
…mitedUser by ContainerFactory#findContainers
PR Core: #14315
Known issue: There is a performance issue listing templates: #14316 |
PermissionedWebAssetUtil.java has been removed here: #14344 Please @john-thomas-dotcms @DeanGonzalez consider this for changelog |
…as access to (#14344) * #14134 Replacing call to PermissionedWebAssetUtil#findTemplatesForLimitedUser by TemplateAPI#findTemplatesUserCanUse * #14134 Replacing call to PermissionedWebAssetUtil#findContainersForLimitedUser by ContainerFactory#findContainers * #14134 Removing unused imports * #14134 Removing PermissionedWebAssetUtil class
Fixed, tested in the last master and now we are able to use it as limited user |
Expected Behavior
Limited users, even if they have full permissions, should have access to all Templates/Containers once a Page is created, or a Template is edited and wants to add a new container to it.
Current Behavior
Any non-admin user with full grants over a Site (including Publish permissions for all assets) cannot retrieve the list of Containers it has access to because of a bug in the system.
Steps to Reproduce (for bugs)
Stacktrace:
https://gist.github.com/joseorsini/ef4d83d65afd679ae9e74d046cc3aefa
Context
Reported by customer:
https://dotcms.zendesk.com/agent/tickets/95579
Your Environment
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: