Christopher Kolstad
1f37b0bf4b
fix: make hasPermission call handle api tokens ( #1041 )
2021-10-19 11:34:56 +02:00
Ivar Conradi Østhus
90962434d9
fix: Cleanup new features API with env support ( #929 )
2021-09-13 10:23:57 +02:00
Ivar Conradi Østhus
8cbf378286
feat: sync fields when logging in via SSO ( #916 )
2021-08-23 12:11:29 +02: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
0bed8f605e
fix: regular users are not API users
2021-05-03 19:33:37 +02:00
Ivar Conradi Østhus
4b48c08e0e
fix: move permission to types
2021-05-02 20:58:02 +02:00
Ivar Conradi Østhus
0efc238fdb
fix: define root role by setting the name of the role ( #823 )
2021-04-30 13:25:24 +02:00
Ivar Conradi Østhus
b4b524a11b
feat: add option for LOG_LEVEL ( #803 )
2021-04-23 15:31:12 +02:00
Ivar Conradi Østhus
d021f4ebc5
fix: lint
2021-04-23 12:55:11 +02:00
Ivar Conradi Østhus
709d12a1dc
fix: hasPermission should not throw
2021-04-23 12:52:29 +02:00
Ivar Conradi Østhus
b0e6d8c363
fix: User should require a ID field set ( #799 )
2021-04-22 23:40:52 +02:00
Christopher Kolstad
240c6a77a1
Feat/options need types ( #794 )
...
feat: options are now typed
- This makes it easier to know what to send to unleash.start / unleash.create
- Using a Partial to instantiate the config, then melding it with defaults to get a config object with all fields set either to their defaults or to whatever is passed in.
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-04-22 10:07:10 +02:00
Ivar Conradi Østhus
23ea21babf
fix: rename rbac roles. ( #788 )
...
* fix: rename rbac roles.
Root-roles:
- Admin
- Editor
- Viewer
Project roles:
- Owner
- Member
* Update src/lib/services/access-service.ts
* Update src/migrations/20210415173116-rbac-rename-roles.js
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-04-16 10:45:15 +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
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