File tree Expand file tree Collapse file tree
apiserver/internal/models Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ type SignedInIdentity struct {
3232type ApiTokenScope string
3333
3434const (
35- ApiTokenScopeTaskRead ApiTokenScope = "task:read "
36- ApiTokenScopeTaskWrite ApiTokenScope = "task:write "
37- ApiTokenScopeLabelRead ApiTokenScope = "label:read "
38- ApiTokenScopeLabelWrite ApiTokenScope = "label:write "
39- ApiTokenScopeUserRead ApiTokenScope = "user:read "
40- ApiTokenScopeUserWrite ApiTokenScope = "user:write "
41- ApiTokenScopeDavRead ApiTokenScope = "dav:read "
42- ApiTokenScopeDavWrite ApiTokenScope = "dav:write "
35+ ApiTokenScopeTaskRead ApiTokenScope = "Tasks.Read "
36+ ApiTokenScopeTaskWrite ApiTokenScope = "Tasks.Write "
37+ ApiTokenScopeLabelRead ApiTokenScope = "Labels.Read "
38+ ApiTokenScopeLabelWrite ApiTokenScope = "Labels.Write "
39+ ApiTokenScopeUserRead ApiTokenScope = "User.Read "
40+ ApiTokenScopeUserWrite ApiTokenScope = "User.Write "
41+ ApiTokenScopeDavRead ApiTokenScope = "Dav.Read "
42+ ApiTokenScopeDavWrite ApiTokenScope = "Dav.Write "
4343)
4444
4545func AllUserScopes () []ApiTokenScope {
You can’t perform that action at this time.
0 commit comments