Alexander Zobnin
f1b5014efd
Preferences: Add pagination to org configuration page ( #60896 )
...
* Add auth labels and access control metadata to org users search results
* Fix search result JSON model
* Org users: Use API for pagination
* Fix default page size
* Refactor: UsersListPage to functional component
* Refactor: update UsersTable component code style
* Add pagination to the /orgs/{org_id}/users endpoint
* Use pagination on the AdminEditOrgPage
* Add /orgs/{org_id}/users/search endpoint to prevent breaking API
* Use existing search store method
* Remove unnecessary error
* Remove unused
* Add query param to search endpoint
* Fix endpoint docs
* Minor refactor
* Fix number of pages calculation
* Use SearchOrgUsers for all org users methods
* Refactor: GetOrgUsers as a service method
* Minor refactor: rename orgId => orgID
* Fix integration tests
* Fix tests
2023-01-09 11:54:33 +03:00
tomxwang
a51c2774b8
convert UsersActionBar tests to RTL ( #48737 )
2022-05-12 13:16:22 -07:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Alexander Zobnin
6c3c82d132
Access control: Fix permission required to invite users (prevent access error) ( #41943 )
...
* Fix permission required to invite users (prevent access error)
* Use hasAccess method with fallback
* Fix tests
2021-11-22 09:40:52 +03:00
Alexander Zobnin
a7e721e987
Access control: Make Admin/Users UI working with the permissions ( #33176 )
...
* API: authorize admin/users views
* Render admin/users components based on user's permissions
* Add LDAP permissions (required by admin/user page)
* Extend default admin role by LDAP permissions
* Show/hide LDAP debug views
* Render LDAP debug page if user has access
* Authorize LDAP debug view
* fix permissions definitions
* Add LDAP page permissions
* remove ambiguous permissions check
* Hide logout buttons in sessions table
* Add org/users permissions
* Use org permissions for managing user roles in orgs
* Apply permissions to org/users
* Apply suggestions from review
* Fix tests
* remove scopes from the frontend
* Tweaks according to review
* Handle /invites endpoints
2021-04-22 13:19:41 +03:00
Hugo Häggmark
4f0fa776be
Chore: Migrates reducers and actions to Redux Toolkit ( #21287 )
...
* Refactor: Adds Redux Toolkit package
* Refactor: Uses configureStore from Redux Toolkit
* Refactor: Migrates applicationReducer
* Refactor: Migrates appNotificationsReducer
* Refactor: Migrates locationReducer
* Refactor: Migrates navModelReducer
* Refactor: Migrates teamsReducer and teamReducer
* Refactor: Migrates cleanUpAction
* Refactor: Migrates alertRulesReducer
* Refactor: Cleans up recursiveCleanState
* Refactor: Switched to Angular compatible reducers
* Refactor: Migrates folderReducer
* Refactor: Migrates dashboardReducer
* Migrates panelEditorReducer
* Refactor: Migrates dataSourcesReducer
* Refactor: Migrates usersReducer
* Refactor: Migrates organizationReducer
* Refactor: Migrates pluginsReducer
* Refactor: Migrates ldapReducer and ldapUserReducer
* Refactor: Migrates apiKeysReducer
* Refactor: Migrates exploreReducer and itemReducer
* Refactor: Removes actionCreatorFactory and reducerFactory
* Refactor: Moves mocks to test section
* Docs: Removes sections about home grown framework
* Update contribute/style-guides/redux.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Refactor: Cleans up some code
* Refactor: Adds state typings
* Refactor: Cleans up typings
* Refactor: Adds comment about ImmerJs autoFreeze
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-01-13 08:03:22 +01:00
Peter Holmberg
ef5180bae0
fixed toggle buttons
2018-10-03 13:04:31 +02:00
Peter Holmberg
45113e6c8b
updated after pr feedback
2018-10-03 10:54:15 +02:00
Torkel Ödegaard
afdec3d1b0
Revert "Revert "Org users to react""
2018-10-03 09:43:10 +02:00
Torkel Ödegaard
fe4f2f71c3
Revert "Org users to react"
2018-10-03 09:40:37 +02:00
Peter Holmberg
6d6416c04d
fix after merge from master
2018-10-02 13:19:11 +02:00
Peter Holmberg
a188ceacbc
invitees
2018-10-02 11:04:55 +02:00