Description
Role-based access control is a method of restricting network access based on the roles of individual users within an enterprise.
Where to use
- Enterprise apps.
Real World Example
Admin role has all permissions. Viewer role can only generic GET requests.
Code Example
class RBAC:
def __init__(self):
pass
def execute(self):
print('Executing RBAC')
