Security

RBAC

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:\n    def __init__(self):\n        pass\n\n    def execute(self):\n        print('Executing RBAC')