minvws / nl-kat-coordination

OpenKAT scans networks, finds vulnerabilities and creates accessible reports. It integrates the most widely used network tools and scanning software into a modular framework, accesses external databases such as shodan, and combines the information from all these sources into clear reports. It also includes lots of cat hair.
https://openkat.nl
European Union Public License 1.2
127 stars 58 forks source link

Add permission that grants access to all organizations #3532

Closed dekkers closed 1 month ago

dekkers commented 2 months ago

Changes

This adds a permission that grants the user access to all organizations. It also adds a way to set the global clearance level for user. See linked issue for more details.

Issue link

Closes https://github.com/minvws/nl-kat-coordination/issues/3443

QA notes

The global clearance can be set on the user object in the admin. The new permission can be added to the user directly or to one of the groups the user is a member of.


Checklist for code reviewers:

Copy-paste the checklist from the docs/source/templates folder into your comment.


Checklist for QA:

Copy-paste the checklist from the docs/source/templates folder into your comment.

stephanie0x00 commented 1 month ago

Checklist for QA:

What works:

Seems to work as expected. I added a new low level user and assigned the new permissions to this user. Then signed in with this user. I was able to see both the organisations created.

What doesn't work:

n/a

Bug or feature?:

n/a