feat: appove and go
This commit is contained in:
@@ -17,7 +17,7 @@ PORT = int(os.environ.get("CASAN_IDP_PORT", "8080"))
|
||||
ISSUER = os.environ.get("CASAN_IDP_ISSUER", f"http://127.0.0.1:{PORT}")
|
||||
DEFAULT_SUB = os.environ.get("CASAN_IDP_SUB", "oidc-ops")
|
||||
DEFAULT_EMAIL = os.environ.get("CASAN_IDP_EMAIL", "oidc-ops@example.com")
|
||||
DEFAULT_GROUPS = [g for g in os.environ.get("CASAN_IDP_GROUPS", "casan-org-admin,casan-approver").split(",") if g]
|
||||
DEFAULT_GROUPS = [g for g in os.environ.get("CASAN_IDP_GROUPS", "casan-org-admin,casan-approver,casan-project:AINative_OKR_CASAN4").split(",") if g]
|
||||
USERS = {
|
||||
DEFAULT_SUB: {
|
||||
"name": "Operations Owner",
|
||||
@@ -28,7 +28,7 @@ USERS = {
|
||||
"oidc-reviewer": {
|
||||
"name": "Independent Reviewer",
|
||||
"email": "oidc-reviewer@example.com",
|
||||
"groups": ["casan-approver"],
|
||||
"groups": ["casan-approver", "casan-project:AINative_OKR_CASAN4"],
|
||||
"description": "Reviews and approves another operator's proposal",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user