• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Managing Entity Grants in FusionAuth: Handling Permission Updates

Scheduled Pinned Locked Moved Solved
Q&A
1
2
497
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    wesley
    last edited by 31 Dec 2024, 14:16

    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.

    W 1 Reply Last reply 31 Dec 2024, 14:23 Reply Quote 0
    • W
      wesley @wesley
      last edited by 31 Dec 2024, 14:23

      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:

      • Entity Grants API Documentation
      • Submit a GitHub Issue
      1 Reply Last reply Reply Quote 0
      • W wesley has marked this topic as solved on 31 Dec 2024, 14:23
      1 out of 2
      • First post
        1/2
        Last post