Renamedpermisssions from *Organisation* to *Organization*📝
continuous-integration/drone/pr Build is passing
continuous-integration/drone/pr Build is passing
ref #117
This commit is contained in:
1 parent
c6c643ecf1
commit
cd7e9b86b4
3 files changed
+7
-7
No files matched your search
@@ -42,7 +42,7 @@ const StatsAuth = async (req: Request, res: Response, next: () => void) => {
|
||||
let user_authorized = false;
|
||||
try {
|
||||
let action = { request: req, response: res, context: null, next: next }
|
||||
user_authorized = await authchecker(action, ["RUNNER:GET", "TEAM:GET", "ORGANISATION:GET"]);
|
||||
user_authorized = await authchecker(action, ["RUNNER:GET", "TEAM:GET", "ORGANIZATION:GET"]);
|
||||
}
|
||||
finally {
|
||||
if (user_authorized == false) {
|
||||
|
||||
Reference in new issue
Block a user