Ivar Conradi Østhus
c9481eb09a
fix: root roles should be connected to the default project
2022-01-11 13:33:04 +01:00
Ivar Conradi Østhus
861218dbbc
fix: remove debug log state
2022-01-11 12:55:26 +01:00
Ivar Conradi Østhus
ee0e728e67
fix: remove debug logging
2022-01-11 11:22:24 +01:00
Ivar Conradi Østhus
6d6686a2a8
fix: move DEFAULT_PROJECT to types
2022-01-11 11:21:28 +01:00
Ivar Conradi Østhus
b582bb11d0
fix: module pattern ../../lib
2022-01-11 09:37:35 +01:00
Fredrik Oseberg
a723004edd
fix: export default project constant
2022-01-11 09:32:52 +01:00
sighphyre
5abe99f431
chore: Trim some dead code to make the linter happy
2022-01-11 09:23:35 +01:00
sighphyre
21560f2dac
chore: More minor cleanups of code
2022-01-11 09:23:35 +01:00
sighphyre
deaf614dde
chore: Small code cleanups
2022-01-11 09:23:35 +01:00
sighphyre
b56ed05db1
chore: Minor code cleanups
2022-01-11 09:23:35 +01:00
sighphyre
f032445d3d
fix: Improve responses from role resolution - getting a non existant role will throw a NotFound error
2022-01-11 09:23:33 +01:00
Fredrik Oseberg
4409111be0
fix: update user permission mapping
2022-01-11 09:23:31 +01:00
sighphyre
c547b8a2b9
feat: Patch db migration to handle old stucture
2022-01-11 09:23:30 +01:00
sighphyre
30de5f4b39
chore: Refactor role/access stores into more logical domains
2022-01-11 09:23:30 +01:00
sighphyre
afb5a6139b
fix: Get a bunch of tests working and delete a few that make no sense anymore
2022-01-11 09:23:29 +01:00
sighphyre
b953324428
feat: Add in support for updating roles
2022-01-11 09:23:29 +01:00
sighphyre
f8550790c5
feat: Return permissions on get role endpoint
2022-01-11 09:23:29 +01:00
sighphyre
0634758784
fix: Make permissions actually work with new environments
2022-01-11 09:23:28 +01:00
sighphyre
d387ac0cbd
fix: Make project roles resolve correctly against new environments permissions structure
2022-01-11 09:23:27 +01:00
sighphyre
9d4f542f85
feat: Add ability to provide permissions when creating a role and rename environmentName to name in the list permissions datastructure
2022-01-11 09:23:27 +01:00
sighphyre
cb02ae9c92
feat: Add api endpoints for roles and permissions list
2022-01-11 09:23:27 +01:00
sighphyre
2eb0b6a11e
chore: Implement scaffolding for new rbac
2022-01-11 09:23:26 +01:00
Ivar Conradi Østhus
2ec427190e
wip: environment for permissions
2022-01-11 09:23:25 +01:00
Christopher Kolstad
ff7be7696c
fix: Stores as typescript and with interfaces. ( #902 )
...
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-08-12 15:04:37 +02:00
Ivar Conradi Østhus
841e2a6e07
fix: more types
2021-05-02 21:11:17 +02:00
Ivar Conradi Østhus
df2e23c282
fix: refactor event types
2021-04-29 10:21:29 +02:00
Ivar Conradi Østhus
9e7d2f845a
fix: migrate all permissions to rbac ( #782 )
...
* fix: migrate all permissions to rbac
* fix: update migration guide
fixes #782
2021-04-12 20:25:03 +02:00
Ivar Conradi Østhus
9bd425c193
feat: Add username/password authentication ( #777 )
2021-04-09 13:46:53 +02:00
Christopher Kolstad
2e13bb9368
Make sure we keep the announced status of each app ( #770 )
...
* Make sure we keep the announced status of each app
- Since we were running onConflict().merge() we were keeping our entire
new object from our remapRow method, and that was overwriting the
current announcement status of the row back to false, unless we'd by
random chance actually set the announced property on our row to be
inserted.
* Add migration for cleaning up application-created events
-
fixes : #769
2021-03-23 12:43:33 +01:00
Ivar Conradi Østhus
e1fbe9d013
feat: Default roles and RBAC permission checker. ( #735 )
...
This PR Introduces first steps towards RBAC according to our specifications. Rbac will assume users to exist in the Unleash user table with a unique id. This is required to make correct mappings between users and roles.
2021-03-11 22:51:58 +01:00