-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix admins without "admin_manage" privilege accessing thier own profile.
Admins without the admin management privilege weren't able to view their own account page, so they couldn't find their admin api token. This fixes it by allowing admins to view a read-only view of their own account, regardless of whether they have the admin_manage privilege. Admins should also be able to set their own password (if using local authentication), but this part isn't yet implemented. See: 18F/api.data.gov#451 18F/api.data.gov#443
- Loading branch information
Showing
4 changed files
with
126 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters