Skip to content

Commit

Permalink
fix(admin-ui): scim config permission added
Browse files Browse the repository at this point in the history
Signed-off-by: Jeet Viramgama <jviramgama5@gmail.com>
  • Loading branch information
jv18creator committed Nov 6, 2023
1 parent 394706a commit 2c68f7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin-ui/app/utils/PermChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ export const SESSION_DELETE = BASE_URL + '/jans-auth-server/session.delete'
export const SCOPE_TAG = 'scopes'
export const ATTRIBUTES_TAG = 'attributes'

export const SCIM_CONFIG_READ = 'https://jans.io/scim/config.readonly'
export const SCIM_CONFIG_WRITE = 'https://jans.io/scim/config.write'

export const hasPermission = (scopes, scope) => {
let available = false
if (scopes) {
Expand Down

0 comments on commit 2c68f7e

Please sign in to comment.