plynx.constants.users

User based enums

Module Contents

class plynx.constants.users.IAMPolicies[source]

Standard role policies

CAN_VIEW_OTHERS_OPERATIONS :str = CAN_VIEW_OTHERS_OPERATIONS[source]
CAN_VIEW_OTHERS_WORKFLOWS :str = CAN_VIEW_OTHERS_WORKFLOWS[source]
CAN_VIEW_OPERATIONS :str = CAN_VIEW_OPERATIONS[source]
CAN_VIEW_WORKFLOWS :str = CAN_VIEW_WORKFLOWS[source]
CAN_CREATE_OPERATIONS :str = CAN_CREATE_OPERATIONS[source]
CAN_CREATE_WORKFLOWS :str = CAN_CREATE_WORKFLOWS[source]
CAN_MODIFY_OTHERS_WORKFLOWS :str = CAN_MODIFY_OTHERS_WORKFLOWS[source]
CAN_RUN_WORKFLOWS :str = CAN_RUN_WORKFLOWS[source]
IS_ADMIN :str = IS_ADMIN[source]
class plynx.constants.users.UserPostAction[source]

HTTP POST action options

MODIFY :str = MODIFY[source]
class plynx.constants.users.RegisterUserExceptionCode[source]

Validation error codes

EMPTY_USERNAME :str = EMPTY_USERNAME[source]
EMPTY_PASSWORD :str = EMPTY_PASSWORD[source]
USERNAME_ALREADY_EXISTS :str = USERNAME_ALREADY_EXISTS[source]
EMAIL_ALREADY_EXISTS :str = EMAIL_ALREADY_EXISTS[source]
INVALID_EMAIL :str = INVALID_EMAIL[source]
INVALID_LENGTH_OF_USERNAME :str = INVALID_LENGTH_OF_USERNAME[source]
class plynx.constants.users.TokenType[source]

Auth token type

ACCESS_TOKEN = access[source]
REFRESH_TOKEN = refresh[source]