grafana/public/app/features/admin
Leonard Gram 730bedf36f
LDAP Debug: No longer shows incorrectly matching groups based on role (#20018)
* LDAP Debug: No longer shows incorrectly matching groups based on role

Org Role was used as a shortcut to figure out what groups were matching
and which weren't. That lead to too all groups matching a specific role
to show up for a user if that user got that role.

* LDAP Debug: Fixes ordering of matches

The order of groups in the ldap.toml file is important, only the first
match for an organisation will be used. This means we have to iterate
based on the config and stop matching when a match is found.

We might want to think about showing further matches as potential
matches that are shadowed by the first match. That would possibly make
it easier to understand why one match is used instead of another one.

* LDAP Debug: never display more than one match for the same LDAP group/mapping.

* LDAP Debug: show all matches, even if they aren't used

* Update public/app/features/admin/ldap/LdapUserGroups.tsx

Co-Authored-By: gotjosh <josue.abreu@gmail.com>

* Update public/app/features/admin/ldap/LdapUserGroups.tsx

Co-Authored-By: gotjosh <josue.abreu@gmail.com>
2019-11-01 15:42:22 +01:00
..
__snapshots__ Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
ldap LDAP Debug: No longer shows incorrectly matching groups based on role (#20018) 2019-11-01 15:42:22 +01:00
partials Migration: Migrates Admin settings from angular to react (#19594) 2019-10-03 13:11:21 +01:00
state Debt: Simplifies actionCreatorFactory (#19433) 2019-09-26 11:41:37 +01:00
AdminEditOrgCtrl.ts NavModel: Fixed page header ui tabs issues for some admin pages (#17444) 2019-06-05 15:18:31 +02:00
AdminEditUserCtrl.ts Types: Adds type safety to appEvents (#19418) 2019-10-14 09:27:47 +01:00
AdminListOrgsCtrl.ts Types: Adds type safety to appEvents (#19418) 2019-10-14 09:27:47 +01:00
AdminListUsersCtrl.ts ReactMigration: Migrate DataSource HTTP Settings to React (#19452) 2019-10-18 12:09:53 +02:00
AdminSettings.tsx Migration: Migrates Admin settings from angular to react (#19594) 2019-10-03 13:11:21 +01:00
DisabledUserInfo.tsx Ldap: Add LDAP debug page (#18759) 2019-09-16 18:56:01 +03:00
index.ts Migration: Migrates Admin settings from angular to react (#19594) 2019-10-03 13:11:21 +01:00
ServerStats.test.tsx Chore: No implict any fixes (#17020) 2019-05-13 09:38:19 +02:00
ServerStats.tsx Migration: Migrates Admin settings from angular to react (#19594) 2019-10-03 13:11:21 +01:00
StyleGuideCtrl.ts NavModel: Fixed page header ui tabs issues for some admin pages (#17444) 2019-06-05 15:18:31 +02:00
UserInfo.tsx Ldap: Add LDAP debug page (#18759) 2019-09-16 18:56:01 +03:00
UserSessions.tsx Ldap: Add LDAP debug page (#18759) 2019-09-16 18:56:01 +03:00
UserSyncInfo.tsx Ldap: Add LDAP debug page (#18759) 2019-09-16 18:56:01 +03:00