You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.
Considering adding a user admin interface to view and manage user accounts.
This would require server side routes and multiple page views (a user list and an edit view at a minimum) but could be very useful for creating useful projects very quickly.
The text was updated successfully, but these errors were encountered:
* Added an admin view (/admin) and API end point to list users (/admin/users) and link to it in the user menu to anyone signed in who has “admin”: true set in their profile (issue #61).
* Admin view uses react-bootstrap-table.
* Refactored session component to move it into `models/session.js `- alongside the new `models/user.js` - as it’s just a generic ES6 class, not specifically a React component.
* Refactored the loader into a component - by default displays as as a block where ever it is placed, but also supports a fullscreen={true} option.
* Reset default body font size to 1em as larger values made tables look larger than they needed to be as was unnecessary.
If you configure a MongoDB for Users and set "admin": true in your profile in the DB you can now access a simple read-only admin-only view, which calls a JSON endpoint at /admin/users.
It uses react-bootstrap-table and supports pagination.
The intention is to update this to be more full featured, but for now it's a useful starting point for anyone who wants to build their own admin UI.
If anyone would like to add views for viewing and editing users I'd welcome pull requests!
Considering adding a user admin interface to view and manage user accounts.
This would require server side routes and multiple page views (a user list and an edit view at a minimum) but could be very useful for creating useful projects very quickly.
The text was updated successfully, but these errors were encountered: