Skip to content

Commit

Permalink
Merge pull request #390 from FAIMS/notebook-admin-user
Browse files Browse the repository at this point in the history
Notebook Creator Role
  • Loading branch information
stevecassidy authored Dec 14, 2023
2 parents d305afb + a3c11c5 commit 430afe2
Show file tree
Hide file tree
Showing 16 changed files with 775 additions and 405 deletions.
183 changes: 169 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
"csv-stringify": "^6.4.4",
"express": "4.18.2",
"express-handlebars": "7.1.2",
"express-rate-limit": "^6.7.0",
"express-rate-limit": "^7.1.5",
"express-validator": "7.0.1",
"faims3-datamodel": "github:FAIMS/faims3-data-model#v1.0.6",
"faims3-datamodel": "github:FAIMS/faims3-data-model#v1.1.0",
"fast-check": "2.25.0",
"gts": "3.1.1",
"handlebars": "4.7.7.",
"istanbul": "^0.4.5",
"jose": "4.15.2",
"markdown-it": "^14.0.0",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"nodemailer": "^6.9.7",
Expand All @@ -59,6 +60,7 @@
"@types/express": "4.17.18",
"@types/express-handlebars": "5.3.1",
"@types/express-session": "1.17.9",
"@types/markdown-it": "^13.0.7",
"@types/mocha": "^10.0.3",
"@types/morgan": "^1.9.5",
"@types/multer": "^1.4.7",
Expand Down
3 changes: 2 additions & 1 deletion public/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@
"type": "object",
"properties": {
"username": {"type": "string"},
"addrole": {"type": "boolean"}
"addrole": {"type": "boolean"},
"role": {"type": "string", "enum": ["cluster-admin", "notebook-creator"]},
}
}
}
Expand Down
Loading

0 comments on commit 430afe2

Please sign in to comment.