Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add Role resource type and its scopes to authorization schema #35565

@vramik

Description

@vramik

There is implementation of AuthorizationSchema which serves for FGAP purpose.

public static final String USERS_RESOURCE_TYPE = "Users";
public static final ResourceType USERS = new ResourceType(USERS_RESOURCE_TYPE, Set.of("manage"));
public static final AdminPermissionsSchema SCHEMA = new AdminPermissionsSchema();
private AdminPermissionsSchema() {
super(Map.of(USERS_RESOURCE_TYPE, USERS));
}

We should add "Roles" resource type and its scopes.

As well as the appropriate AdminPermissionEvaluation implementation to support E2E experience.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions