Skip to content

Commit

Permalink
Add possibility to define any group as "Admin" (#902)
Browse files Browse the repository at this point in the history
* remove setting admin group name by env variable, add permissions instead

* custom admin groups frontend

* fmt

* fix tests, cargo prepare

* tests

* init admin user only if no other admin exists

* ignore default admin group

* Update AddGroupModal.tsx

* moved group permissions to group database, minor fixes

* eslint

* Apply suggestions from code review

Co-authored-by: Adam <aciarcinski@teonite.com>

* review suggestion

* fix translations

* fix string interpolation

* fix tests

* try to fix admin state on startup

* prevent removing or modifying the last admin group, allow otherwise

* fix tests

* add tests

---------

Co-authored-by: Adam <aciarcinski@teonite.com>
  • Loading branch information
t-aleksander and moubctez authored Dec 16, 2024
1 parent b64ce0c commit 858fc64
Show file tree
Hide file tree
Showing 50 changed files with 1,109 additions and 286 deletions.

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

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

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

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

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

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

This file was deleted.

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

This file was deleted.

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

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

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

Loading

0 comments on commit 858fc64

Please sign in to comment.