You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #71, we have profiles for data sources, we want to do access control for them. For example, admin users can access pg-admin profile, but non-admin users can only access pg-no-admin profile.
Describe the solution you’d like
We can implement a sample attribute-based access control (ABAC) for our profiles.
For each profile, we can set the allow property to indicate what attributes users should have.
For example, only the user with name admin can access this profile:
We can specify multiple profiles on a single schema now, from top to bottom, users use the first qualified profile. If users can't use any of them, 403 error should be thrown.
Additional context
The text was updated successfully, but these errors were encountered:
What’s the problem you're trying to solve
After #71, we have profiles for data sources, we want to do access control for them. For example, admin users can access
pg-admin
profile, but non-admin users can only accesspg-no-admin
profile.Describe the solution you’d like
We can implement a sample attribute-based access control (ABAC) for our profiles.
allow
property to indicate what attributes users should have.For example, only the user with name
admin
can access this profile:group
and its value should beadmin
:Only the user who has name
admin
and hasgroup
attribute with valueadmin
can access this profile.admin
,someoneelse
, and those who havegroup
attribute with valueadmin
can access this profile.403
error should be thrown.Additional context
The text was updated successfully, but these errors were encountered: