-
-
Notifications
You must be signed in to change notification settings - Fork 204
New permission level? #1679
Comments
Hey @andgar2010 — I'm not sure I completely understand this new permission level. It sounds like our "Role Only" would work... but maybe I'm misunderstanding. Could you use an example to describe what you're looking for? |
Hi @benhaynes The client can create a request (new item in the collection with data: place id, date created in and created by client) and read by its created. The coordinator can read only the assigned place and change the request only to assign or change the agent. The agent can read and modify the service only when the coordinator has assigned a request to it. |
Ahh, this is a very complex edge-case then. You still might be able to accomplish this with the "My Role Only" permission and setting the "owner" through event hooks, or maybe even with custom interfaces. Still, I'll close this as a duplicate of our more robust permission system that will likely be included in the Laravel API port we're working on now: #511 |
@benhaynes - Let's talk about this topic, but can permissions be granted for fields (CRUDE)? |
Yes, you can toggle field READ/WRITE access (and you can do so per status): https://docs.directus.io/guides/permissions.html#field-level |
• Version of Directus
8.4.0
• PHP version
7.2.24
• MySQL version
mysqld Ver 5.7.28
• Webserver + version
apache 2.4.29
I researched the documentation, but did not find Permissions new level.
I don't know how to express it. I tried some translation tools, but I wasn't satisfied.
I will describe it and see if you can understand it:
Client wants to manage the permissions to assign a user or several users (any role that items in a collection by created user ) to be able to read or modify in a collection item. Because Directus only has to manage items in mine only (Created by or modified by) or Role only (Created by or modified by)
The text was updated successfully, but these errors were encountered: