How to grant permissions to all resources of a type? #2384
-
I want to be able to give a group of users permissions to view all resources of a type. Is that possible to do? It seems wildcards cannot be used on the subject side of a relationship? I could do it with a layer of indirection but it seems rather gross:
This gets very redundant as I increase the number of domains and they have to match up properly.
Are there ways to make this more ergonomic? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The above approach is the correct one; you can define a type call |
Beta Was this translation helpful? Give feedback.
The above approach is the correct one; you can define a type call
definition all_of_type
and have the ID be the resource type, but it will have to match your current layout. Resource wildcards are not supported and almost certainly won't be - it would introduce massive performance issues