Access Control: Support other attributes than id for resource permissions (#46727)
* Add option to set ResourceAttribute for a permissions service * Use prefix in access control sql filter to parse scopes * Use prefix in access control metadata to check access
This commit is contained in:
@@ -242,6 +242,7 @@ type SetResourcePermissionCommand struct {
|
||||
|
||||
const (
|
||||
GlobalOrgID = 0
|
||||
|
||||
// Permission actions
|
||||
|
||||
ActionAPIKeyRead = "apikeys:read"
|
||||
|
||||
Reference in New Issue
Block a user