netbird/management/server/http/middleware
Maycon Santos d7efea74b6
add owner role support (#1340)
This PR adds support to Owner roles.

The owner role has a similar access level as the admin, but it has the power to delete the account.

Besides that, the role has the following constraints:

- The role can only be transferred. So, only a user with the owner role can transfer the owner role to a new user
- It can't be assigned to users being invited
- It can't be assigned to service users
2023-12-01 17:24:57 +01:00
..
access_control.go add owner role support (#1340) 2023-12-01 17:24:57 +01:00
auth_middleware_test.go Add management-integrations (#1227) 2023-10-17 17:19:47 +02:00
auth_middleware.go Add management-integrations (#1227) 2023-10-17 17:19:47 +02:00