175 lines
7.1 KiB
Text
175 lines
7.1 KiB
Text
[
|
|
{"type":"CommentMultiline","value":"/**\n * Project is a project.\n */"},
|
|
{"type":"TextWhitespace","value":"\n"},
|
|
{"type":"KeywordType","value":"definition"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"NameNamespace","value":"test/"},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"issue_creator"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"NameVariable","value":"#member"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"issue_assigner"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"NameVariable","value":"#member"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"any_issue_resolver"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"NameVariable","value":"#member"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"assigned_issue_resolver"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"NameVariable","value":"#member"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"comment_creator"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"NameVariable","value":"#member"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"comment_deleter"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"NameVariable","value":"#member"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"NameVariable","value":"#member"},
|
|
{"type":"TextWhitespace","value":"\n\t\n\t"},
|
|
{"type":"KeywordDeclaration","value":"permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"create_issue"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"issue_creator"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordDeclaration","value":"permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"create_role"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":"\n"},
|
|
{"type":"Punctuation","value":"}"},
|
|
{"type":"TextWhitespace","value":"\n\n"},
|
|
{"type":"KeywordType","value":"definition"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"role"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Punctuation","value":"{"},
|
|
{"type":"TextWhitespace","value":"\n "},
|
|
{"type":"CommentMultiline","value":"/** project is the project */"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"member"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"user"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordNamespace","value":"relation"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"built_in_role"},
|
|
{"type":"Operator","value":":"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"TextWhitespace","value":"\n\t\n\t"},
|
|
{"type":"KeywordDeclaration","value":"permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"delete"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"Operator","value":"-\u003e"},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"-"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"built_in_role"},
|
|
{"type":"Operator","value":"-\u003e"},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordDeclaration","value":"permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"add_user"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"Operator","value":"-\u003e"},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":"\n\t"},
|
|
{"type":"KeywordDeclaration","value":"permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"add_permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"Operator","value":"-\u003e"},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"\u0026"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"built_in_role"},
|
|
{"type":"Operator","value":"-\u003e"},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":"\n\n "},
|
|
{"type":"CommentSingle","value":"// with arrows!\n"},
|
|
{"type":"TextWhitespace","value":"\t"},
|
|
{"type":"KeywordDeclaration","value":"permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"remove_permission"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"project"},
|
|
{"type":"Operator","value":"-\u003e"},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"+"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Name","value":"built_in_role"},
|
|
{"type":"Operator","value":"-\u003e"},
|
|
{"type":"Name","value":"role_manager"},
|
|
{"type":"TextWhitespace","value":"\n"},
|
|
{"type":"Punctuation","value":"}"}
|
|
]
|