core: Initial RBAC (#6806)
* rename consent permission Signed-off-by: Jens Langhammer <jens@goauthentik.io> * the user version Signed-off-by: Jens Langhammer <jens@goauthentik.io> t Signed-off-by: Jens Langhammer <jens@goauthentik.io> * initial role Signed-off-by: Jens Langhammer <jens@goauthentik.io> * start form Signed-off-by: Jens Langhammer <jens@goauthentik.io> * some minor table refactoring Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix user, add assign Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add roles ui Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix backend Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add assign API for roles Signed-off-by: Jens Langhammer <jens@goauthentik.io> * start adding toggle buttons Signed-off-by: Jens Langhammer <jens@goauthentik.io> * start view page Signed-off-by: Jens Langhammer <jens@goauthentik.io> * exclude add_ permission for per-object perms Signed-off-by: Jens Langhammer <jens@goauthentik.io> * small cleanup Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add permission list for roles Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make sidebar update Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix page header not re-rendering? Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fixup Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add search Signed-off-by: Jens Langhammer <jens@goauthentik.io> * show first category in table groupBy except when its empty Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make model and object PK optional but required together Signed-off-by: Jens Langhammer <jens@goauthentik.io> * allow for setting global perms Signed-off-by: Jens Langhammer <jens@goauthentik.io> * exclude non-authentik permissions Signed-off-by: Jens Langhammer <jens@goauthentik.io> * exclude models which aren't allowed (base models etc) Signed-off-by: Jens Langhammer <jens@goauthentik.io> * ensure all models have verbose_name set, exclude some more internal objects Signed-off-by: Jens Langhammer <jens@goauthentik.io> * lint fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix role perm assign Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add unasign for global perms Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add meta changes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * clear modal state after submit Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add roles to our group Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix duplicate url names Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make recursive group query more usable Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add name field to role itself and move group creation to signal Signed-off-by: Jens Langhammer <jens@goauthentik.io> * start sync Signed-off-by: Jens Langhammer <jens@goauthentik.io> * move rbac stuff to separate django app Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix lint and such Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix go Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update Signed-off-by: Jens Langhammer <jens@goauthentik.io> * start API changes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add more API tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make admin interface not require superuser for now, improve error handling Signed-off-by: Jens Langhammer <jens@goauthentik.io> * replace some IsAdminUser where applicable Signed-off-by: Jens Langhammer <jens@goauthentik.io> * migrate flow inspector perms to actual permission Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix license not being a serializermodel Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add permission modal to models without view page Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add additional permissions to assign/unassign permissions Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add action to unassign user permissions Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add permissions tab to remaining view pages Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix flow inspector permission check Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix codecov config? Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add more API tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * ensure viewsets have an order set Signed-off-by: Jens Langhammer <jens@goauthentik.io> * hopefully the last api name change Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make perm modal less confusing Signed-off-by: Jens Langhammer <jens@goauthentik.io> * start user view permission page Signed-off-by: Jens Langhammer <jens@goauthentik.io> * only make delete bulk form expandable if usedBy is set Signed-off-by: Jens Langhammer <jens@goauthentik.io> * expand permission tables Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add more things Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add user global permission table Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix lint Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests' url names Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add tests for assign perms Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add unassign tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * rebuild permissions Signed-off-by: Jens Langhammer <jens@goauthentik.io> * prevent assigning/unassigning permissions to internal service accounts Signed-off-by: Jens Langhammer <jens@goauthentik.io> * only enable default api browser in debug Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix role object permissions showing duplicate Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix role link on role object permissions table Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix object permission modal having duplicate close buttons Signed-off-by: Jens Langhammer <jens@goauthentik.io> * return error if user has no global perm and no object perms also improve error display on table Signed-off-by: Jens Langhammer <jens@goauthentik.io> * small optimisation Signed-off-by: Jens Langhammer <jens@goauthentik.io> * optimise even more Signed-off-by: Jens Langhammer <jens@goauthentik.io> * update locale Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add system permission for non-object permissions Signed-off-by: Jens Langhammer <jens@goauthentik.io> * allow access to admin interface based on perm Signed-off-by: Jens Langhammer <jens@goauthentik.io> * clean Signed-off-by: Jens Langhammer <jens@goauthentik.io> * don't exclude base models Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
105
web/xliff/en.xlf
105
web/xliff/en.xlf
@ -6252,6 +6252,111 @@ Bindings to groups/users are checked against the user of the event.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s71c5d51d5a357dbd">
|
||||
<source>Don't show this message again.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s3e99ea082ca5ade9">
|
||||
<source>Failed to fetch</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s98327528f00365a7">
|
||||
<source>Failed to fetch data.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sf485014051ad0cf7">
|
||||
<source>Successfully assigned permission.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sca7fed2bef53cb99">
|
||||
<source>Role</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sc92c1a54034e21cc">
|
||||
<source>Assign</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="scd84d10ee9137070">
|
||||
<source>Assign permission to role</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s5ee6f1b84e9ebc69">
|
||||
<source>Assign to new role</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s4afb26a8fae257e9">
|
||||
<source>Directly assigned</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sd8051c26e155f043">
|
||||
<source>Assign permission to user</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sf79f8681e5ffaee2">
|
||||
<source>Assign to new user</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="saabeb4cab074b0b9">
|
||||
<source>User Object Permissions</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s8489d5559dda260c">
|
||||
<source>Role Object Permissions</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s6b2beba7ab637e9e">
|
||||
<source>Roles</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s96d2bb4be3f5e8aa">
|
||||
<source>Select roles to grant this groups' users' permissions from the selected roles.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sb37880a2a7288ef0">
|
||||
<source>Update Permissions</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="se9c07cf256774d81">
|
||||
<source>Editing is disabled for managed tokens</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s78ab26da7f067de8">
|
||||
<source>Select permissions to grant</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sdeb90bfd8a80b86b">
|
||||
<source>Permissions to add</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s36247910d67421e1">
|
||||
<source>Select permissions</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s67e136af8fc1107b">
|
||||
<source>Assign permission</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sb923723d27df40ba">
|
||||
<source>Permission(s)</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sc5fb00b25c7f5a02">
|
||||
<source>Permission</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s1455753daa00f1bc">
|
||||
<source>User doesn't have view permission so description cannot be retrieved.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sa3a3e09b88ed9791">
|
||||
<source>Assigned permissions</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s9cc631505c17b028">
|
||||
<source>Assigned global permissions</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s8f85a0e678846080">
|
||||
<source>Assigned object permissions</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s9103a949a3963aa9">
|
||||
<source>Successfully updated role.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sdf87c5661b31359e">
|
||||
<source>Successfully created role.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s3484b1e6d0b5335f">
|
||||
<source>Manage roles which grant permissions to objects within authentik.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s259de999919316db">
|
||||
<source>Role(s)</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s2ffad156e8332f04">
|
||||
<source>Update Role</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="sc5f923729564fbf3">
|
||||
<source>Create Role</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s14bfa8fd1bec8889">
|
||||
<source>Role doesn't have view permission so description cannot be retrieved.</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s7e796fe83982863f">
|
||||
<source>Role <x id="0" equiv-text="${this._role?.name || ""}"/></source>
|
||||
</trans-unit>
|
||||
<trans-unit id="s526e2c66bd51ff5f">
|
||||
<source>Role Info</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
|
||||
Reference in New Issue
Block a user