barong
barong copied to clipboard
Feature : Introduce organization feature
We need to introduce new roles into abilities.yaml:
- org-admin
- org-member
- org-accountant
Then we need to create new abilities for platform operators to manage the organizations:
admin_permissions:
superadmin:
manage:
- Organization
- AdminSwitchSession
When an admin use the ability AdminSwitchSession to switch to a user we set the same user role to his session. When an admin use the ability AdminSwitchSession to switch to an organization we set the role from a static configuration:
BARONG_ADMIN_SWITCH_SESSION_ORG_ROLE=member
:warning: We detected 2 security issues in this pull request:
Hard-Coded Secrets (2)
| Docs | Details |
|---|---|
| :bulb: | Title: Secret Keyword, Severity: Medium https://github.com/openware/barong/blob/dcf994545c5e4924fff467f26dcbfb74d4c33bc0/config/seeds.yml#L17 |
| :bulb: | Title: Secret Keyword, Severity: Medium https://github.com/openware/barong/blob/dcf994545c5e4924fff467f26dcbfb74d4c33bc0/.drone.yml#L11 |
More info on how to fix Hard-Coded Secrets in General.
👉 Go to the dashboard for detailed results.
📥 Happy? Share your feedback with us.
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
15 Code Smells
No Coverage information
4.1% Duplication