Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Non-Admin Default System Permissions #486

Closed
benhaynes opened this issue Oct 15, 2018 · 4 comments
Closed

Non-Admin Default System Permissions #486

benhaynes opened this issue Oct 15, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@benhaynes
Copy link
Member

When working with a user in a non-admin role, there are many permission issues that arise. We need to update the default role permissions so that these don't occur.

  • directus_user_roles – Error just after logging in
  • directus_users Error when trying to update last_access
  • directus_activity – Error with "mine"
[2018-10-15 11:18:55] api[_].ERROR: Directus\Permissions\Exception\ForbiddenCollectionReadException: Reading items from "directus_user_roles" collection was denied in /var/www/api/src/core/Directus/Permissions/Acl.php:944

This one I couldn't fix through permissions:

screen shot 2018-10-15 at 11 30 40 am

@benhaynes benhaynes added bug Something isn't working hacktoberfest labels Oct 15, 2018
@wellingguzman
Copy link
Contributor

Updating user.last_access and creating activity should ignore permission as these are internals actions, but authenticating through the API doesn't raise these issues, what we need to discuss here, is what the app are requesting and how we can make non-admin get those information.

@benhaynes
Copy link
Member Author

Remember to mention @rijkvanzanten for App questions... otherwise he won't see this.

wellingguzman added a commit that referenced this issue Oct 19, 2018
wellingguzman added a commit that referenced this issue Oct 19, 2018
wellingguzman added a commit that referenced this issue Oct 19, 2018
@wellingguzman
Copy link
Contributor

There has not been any more issues with permissions when a non-admin authenticate. We should keep this open to give this issue couple of more days and see if we can find something else.

@benhaynes
Copy link
Member Author

We'll close this one unless more related issues arise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants