Closed arvindh123 closed 1 month ago
@absmach/magistrala
Auth Policies are backed by SpiceDB, In spiceDB they supports one policy per request for Delete relations with filter. So this feature is not feasible for now.
We can rename the DeletePolicy
to some other name like DeletePolicyWithFilter
Renaming via https://github.com/absmach/magistrala/issues/2216
This is not possible due to AuthZed API limitations. Closing this one.
Is your feature request related to a problem? Please describe.
Could not delete policy with array of relationship filters like delete [things of users1 , things of user 2, things of user 3 ]
Describe the feature you are requesting, as well as the possible use case(s) for it.
At present
DeletePolicy
gRPC support delete policy with relationship filter for one policy It should made into array.Indicate the importance of this feature to you.
Must-have
Anything else?
Rename the function to
DeleteFilterPolicies