-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconstants.py
More file actions
15 lines (15 loc) · 1.03 KB
/
constants.py
File metadata and controls
15 lines (15 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
USER_NOT_FOUND = "User %s not present on github."
INVITE_USER_SUCCESS = "Invited user %s to join github org. Access can be granted post inivation acceptance."
INVITE_USER_FAILED = "Failed to add user %s to github org"
REPO_NOT_FOUND = "Repository %s does not exist"
REPO_BLACKLISTED = "Repository %s is blacklisted. Access cannot be granted."
GRANT_ACCESS_FAILED = "Failed to grant access to user %s for repo %s"
REVOKE_REQUEST = "Revoke Request: %s for %s"
REVOKE_SUCCESS = "Successfully revoked access for user %s to %s repository."
REVOKE_FAILED = "Failed to revoke access for user %s to %s repository."
GRANT_REQUEST = "Access Request: %s for access to %s for user %s"
GET_USER_BY_EMAIL_FAILED = "Failed to read user email address from github. Please chnage visibility to public for email address from Github Profile"
USER_IDENTITY_NOT_FOUND = "Failed to verify identity for user %s. User does not exist OR invalid details entered."
ALREADY_INVITED_ERROR = (
"User {} has already been invited to join github org. Accept invite to continue.."
)