Role-based access control is a method of restricting network access based on the roles of individual users within an enterprise.
Admin role has all permissions. Viewer role can only generic GET requests.
class RBAC:\n def __init__(self):\n pass\n\n def execute(self):\n print('Executing RBAC')