Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
405 changes: 200 additions & 205 deletions admin-ui/app/routes/Dashboards/DashboardPage.js

Large diffs are not rendered by default.

19 changes: 8 additions & 11 deletions admin-ui/app/utils/PermChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,9 @@ export const FIDO_READ = BASE_URL + '/config/fido2.readonly'
export const FIDO_WRITE = BASE_URL + '/config/fido2.write'
export const FIDO_DELETE = BASE_URL + '/config/fido2.delete'

export const JANS_LINK_READ = BASE_URL + '/config/jans-link.readonly'
export const JANS_LINK_WRITE = BASE_URL + '/config/jans-link.write'

export const JANS_LOCK_READ = BASE_URL + '/lock-config.readonly'
export const JANS_LOCK_WRITE = BASE_URL + '/lock-config.write'

export const JANS_KC_LINK_READ = BASE_URL + '/kc-link-config.readonly'
export const JANS_KC_LINK_WRITE = BASE_URL + '/kc-link-config.write'

export const CACHE_READ = BASE_URL + '/config/cache.readonly'
export const CACHE_WRITE = BASE_URL + '/config/cache.write'
export const CACHE_DELETE = BASE_URL + '/config/cache.delete'
Expand Down Expand Up @@ -128,9 +122,12 @@ export const SCIM_CONFIG_WRITE = 'https://jans.io/scim/config.write'

export const MESSAGE_READ = BASE_URL + '/config/message.readonly'
export const MESSAGE_WRITE = BASE_URL + '/config/message.write'
export const WEBHOOK_READ = BASE_URL + '/jans-auth-server/config/adminui/webhook.readonly'
export const WEBHOOK_WRITE = BASE_URL + '/jans-auth-server/config/adminui/webhook.write'
export const WEBHOOK_DELETE = BASE_URL + '/jans-auth-server/config/adminui/webhook.delete'
export const WEBHOOK_READ =
BASE_URL + '/jans-auth-server/config/adminui/webhook.readonly'
export const WEBHOOK_WRITE =
BASE_URL + '/jans-auth-server/config/adminui/webhook.write'
export const WEBHOOK_DELETE =
BASE_URL + '/jans-auth-server/config/adminui/webhook.delete'
export const ASSETS_READ = BASE_URL + '/config/jans_asset-read'
export const ASSETS_WRITE = BASE_URL + '/config/jans_asset-write'
export const ASSETS_DELETE = BASE_URL + '/config/jans_asset-delete'
Expand All @@ -141,8 +138,8 @@ export const API_CONFIG_WRITE = BASE_URL + '/config/properties.write'
export const hasPermission = (scopes, scope) => {
let available = false
if (scopes) {
for(const i in scopes){
if(scopes[i] === scope){
for (const i in scopes) {
if (scopes[i] === scope) {
available = true
}
}
Expand Down
9 changes: 1 addition & 8 deletions admin-ui/plugins.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@
"key": "jans-lock",
"metadataFile": "./jans-lock/plugin-metadata"
},
{
"key": "jans-link",
"metadataFile": "./jans-link/plugin-metadata"
},
{
"key": "jans-kc-link",
"metadataFile": "./jans-kc-link/plugin-metadata"
},

{
"key": "scim",
"metadataFile": "./scim/plugin-metadata"
Expand Down
257 changes: 0 additions & 257 deletions admin-ui/plugins/jans-kc-link/components/ConfigurationForm.js

This file was deleted.

Loading
Loading