Dan Cech
f490c5f12c
use X-Grafana-Org-Id header to ensure backend uses correct org ( #8122 )
2017-04-14 15:47:39 +02:00
Daniel Lee
9efb6e76e9
users: adds search and pagination ( #7753 )
...
ref #7469 . Follow up change that adds proper paging with 50 results
per page as well as a search box to search by name, login or email.
2017-03-07 16:03:54 +01:00
bergquist
5174d050f2
middlware: change org when url contains orgid
...
closes #6948
ref #1613
2017-02-17 15:02:14 +01:00
Daniel Lee
193d468ed3
admin: adds paging to global user list
...
Currently there is a limit of 1000 users in the global
user list. This change introduces paging so that an
admin can see all users and not just the first 1000.
Adds a new route to the api - /api/users/search that
returns a list of users and a total count. It takes
two parameters perpage and page that enable paging.
Fixes #7469
2017-02-13 12:59:36 +01:00
Torkel Ödegaard
fb57bf77da
ux(getting started): progress on getting started panel and persited help flag states, #6466
2016-11-09 10:41:39 +01:00
Eric Uldall
eda442dbf9
added support to login user oauth user by email only ( #6330 )
...
* added support to login user oauth user by email only
* added sql handler
* fixed model method name from GetUserByEmail to GetUserByEmailQuery
* fixed variable declaration typo
2016-10-20 06:45:10 +02:00
Dan Cech
630a8ed8aa
support setting default org role when adding user via grafana.net auth
2016-09-20 12:36:36 -04:00
Karl
2f5ae85d33
Initial patch for grafana/grafana#4267 ( #5280 )
2016-06-06 07:15:37 +02:00
Torkel Ödegaard
ab1048b7ee
feat(preferences): theme and home dashbord settings now work work on profile and org settings page
2016-04-02 13:54:06 -07:00
utkarshcmu
fe2d8f1ea0
Used dialect for postgres
2015-11-07 05:21:22 -08:00
utkarshcmu
2676f24e0a
Fixed user deletion in Postgres SQL
2015-11-06 20:17:27 -08:00
Torkel Ödegaard
aa89416bca
fix(invite): fixes to org invite stuff, #2630
2015-09-01 12:35:06 +02:00
Torkel Ödegaard
d19e101e6b
feat(signup): almost done with new sign up flow, #2353
2015-08-31 11:35:07 +02:00
Torkel Ödegaard
14884d5a2b
feat(signup): progress on new signup flow, #2353
2015-08-30 18:56:53 +02:00
Torkel Ödegaard
01d9849e44
fix(user create): fixed for creating multiple users with empty email when auto assign org is set to false, fixes #2011
2015-08-18 20:15:24 +02:00
Torkel Ödegaard
e6d09b3266
fix(db): remove stars and tags when removing user or dashboard, fixes #2016
2015-08-12 09:23:46 +02:00
Torkel Ödegaard
90400bf5ad
fix(ldap): fix for ldap users with empty email address, fixes #2461
2015-08-07 10:14:36 +02:00
Torkel Ödegaard
788e7fd36d
Lots of api refactoring for org routes, #2014
2015-05-19 10:16:32 +02:00
Torkel Ödegaard
bf9e51928d
Fix to signed in user when user <-> org link is gone
2015-05-19 09:02:37 +02:00
Torkel Ödegaard
fbc6bb2112
More refactoring of user http api, trying to reuse handlers for sign in user and admin operations
2015-05-18 19:06:19 +02:00
Torkel Ödegaard
38fc85d619
Final tweaks to auth proxy feature
2015-05-02 12:30:53 +02:00
Torkel Ödegaard
be589d81c7
Auth: Support for user authentication via reverse proxy header (like X-Authenticated-User, or X-WEBAUTH-USER), Closes #1921
2015-05-02 12:06:58 +02:00
Anthony Woods
fc5839d8f1
gofmt. remove extra whitespace
2015-03-17 23:42:16 +08:00
Anthony Woods
bce62c49d0
fixes #1606
2015-03-17 23:10:49 +08:00
Anthony Woods
6a09a7c398
fixes #1606 emit OrgCreated event when new org created.
2015-03-17 23:09:43 +08:00
Torkel Ödegaard
17063df3cc
Changed default org name form 'main' to 'Main Org.'
2015-03-12 19:43:52 +01:00
Torkel Ödegaard
f3d4d2782f
Simplified single org settings, now auto_assign_org, and auto_assign_org_role, new [users] config section, Closes #1585
2015-03-11 16:19:29 +01:00
Torkel Ödegaard
04ca85fe89
Moved dashboard theme option from the dashboard to a persisted user setting, #1458
2015-02-28 14:30:08 +01:00
Torkel Ödegaard
7c241fd617
Added permissions section to admin > edit user view, an admin can now make another user admin, Closes #1517
2015-02-26 15:43:48 +01:00
Torkel Ödegaard
f3f79792ab
account -> org table migration is starting to work, need to test mysql and postgres
2015-02-24 18:32:29 +01:00
Torkel Ödegaard
26e4809e2e
Big Backend Refatoring: Renamed Account -> Org
2015-02-23 20:07:49 +01:00
Torkel Ödegaard
47c6c6e1b7
Added change password feature, Closes #1455
2015-02-19 16:09:49 +01:00
Torkel Ödegaard
17004ce3ae
Fixed issue with login by username and uppercase letters in username, #1484
2015-02-18 13:00:39 +01:00
Torkel Ödegaard
71f09ddd94
Added delete user action to user admin api, and made it work in UI, Closes #1466 , #1446
2015-02-11 16:47:22 +01:00
Torkel Ödegaard
e165e2af95
Worked on user admin features, can now create and edit users as a grafana admin user, #1446
2015-02-10 15:36:51 +01:00
Torkel Ödegaard
0f63c04beb
Fixed bug in user creation and admin role
2015-02-05 10:50:18 +01:00
Torkel Ödegaard
10820f31c2
Changed go package path
2015-02-05 10:37:13 +01:00
Torkel Ödegaard
896e6d4662
Merge branch 'notifications'
2015-02-04 17:15:16 +01:00
Torkel Ödegaard
d8db5189c1
More work on events, still have to convert pascal case event type name to rabbitmq dot notation, but after that should be done
2015-02-04 17:15:05 +01:00
Torkel Ödegaard
60541a455f
Worked on search filter flag IsStarred, and updated frontend with new dashboard list panel
2015-02-04 11:35:59 +01:00
woodsaj
a712f1a231
Add inital implementation of Notification events.
...
If notifications are enabled in the config, Adds a eventHandler
accepting Notification{} payloads to the internal Bus. The
eventHandler then marshals the payload into json and sends it
to a rabbitmq topic exchange using the
Notification.Priority+Noticiation.EventType as the routing key.
eg. INFO.account.created
Currently, notifications are only being emitted for
INFO.account.created
INFO.account.updated
INFO.user.created
INFO.user.updated
2015-02-03 23:57:42 +08:00
Torkel Ödegaard
757b185398
Worked on ease of use for non multi tenant scenarios, Closes #20
2015-01-27 15:14:53 +01:00
Torkel Ödegaard
257519490a
Worked on login remember cookie, and redirect after login
2015-01-27 12:05:23 +01:00
Torkel Ödegaard
afb847acc8
a lot of work on database schema and migration setup, postgres now works, every integration test passes for all database types, only token table left to do
2015-01-20 14:15:48 +01:00
Torkel Ödegaard
e750508d76
Fixes for update user and add token
2015-01-19 18:57:51 +01:00
Torkel Ödegaard
90925273a0
User / Account model split, User and account now seperate entities, collaborators are now AccountUsers
2015-01-19 18:01:04 +01:00
Torkel Ödegaard
f1996a9f1f
Initial work on seperation between user and account
2015-01-19 16:28:45 +01:00