feat: add namespace-based access control with read/write permissions
This commit is contained in:
@@ -8,11 +8,13 @@ type Rel struct {
|
||||
}
|
||||
|
||||
const (
|
||||
RelBlocks RelType = "blocks"
|
||||
RelSubtask RelType = "subtask"
|
||||
RelRelated RelType = "related"
|
||||
RelCreated RelType = "created"
|
||||
RelAssignee RelType = "assignee"
|
||||
RelInNamespace RelType = "in_namespace"
|
||||
RelMentions RelType = "mentions"
|
||||
RelBlocks RelType = "blocks"
|
||||
RelSubtask RelType = "subtask"
|
||||
RelRelated RelType = "related"
|
||||
RelCreated RelType = "created"
|
||||
RelAssignee RelType = "assignee"
|
||||
RelInNamespace RelType = "in_namespace"
|
||||
RelMentions RelType = "mentions"
|
||||
RelHasReadAccess RelType = "has_read_access" // user → namespace
|
||||
RelHasWriteAccess RelType = "has_write_access" // user → namespace
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user