Managing Entity Grants in FusionAuth: Handling Permission Updates
-
When creating or updating an Entity Grant through the API, it seems we always have to provide the full array of permissions. Is there a way to only provide permissions that need to be added or removed? The current API setup could lead to concurrency issues during simultaneous updates.
-
Unfortunately, the Entity Grants API only supports POST as an upsert operation, meaning you must provide the entire list of permissions with each request. It does not currently allow selective addition or removal of permissions.
If this feature is important to your workflow, we recommend submitting a feature request on FusionAuth's GitHub repository. Feature requests are prioritized based on community upvotes.
Resources:
-