MCPcopy Create free account
hub / github.com/StackStorm/st2 / AccessDeniedError

Class AccessDeniedError

st2common/st2common/exceptions/rbac.py:28–37  ·  view source on GitHub ↗

Class representing insufficient permission / access denied error. Also acts as a base class for all the access related errors.

Source from the content-addressed store, hash-verified

26
27
28class AccessDeniedError(StackStormBaseException):
29 """
30 Class representing insufficient permission / access denied error.
31
32 Also acts as a base class for all the access related errors.
33 """
34
35 def __init__(self, message, user_db):
36 self.user_db = user_db
37 super(AccessDeniedError, self).__init__(message)
38
39
40class ResourceTypeAccessDeniedError(AccessDeniedError):

Calls

no outgoing calls

Tested by

no test coverage detected