Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement admin role and admin view #50

Closed
39 tasks done
blms opened this issue Sep 29, 2020 · 1 comment · Fixed by #71
Closed
39 tasks done

Implement admin role and admin view #50

blms opened this issue Sep 29, 2020 · 1 comment · Fixed by #71
Labels
DB Related to the database UI/UX Related to the user interface

Comments

@blms
Copy link
Member

blms commented Sep 29, 2020

Admins authorized to:

  • Use admin view
  • Edit any document, user or group
  • Create public documents

TODO:

  • Create users admin tab
    • View user data
    • Delete user
    • Modify user
    • Make admin
    • Show created annotations
    • Show created documents
    • Reassign annotations
  • Create docs admin tab
    • View document data
    • Delete document
    • Modify document
    • Move this to "actions"
  • Create groups admin tab
    • View group data
    • Show attached documents
    • Delete group
    • Modify group

Backend:

Frontend:

@blms blms added the UI/UX Related to the user interface label Oct 6, 2020
blms added a commit that referenced this issue Oct 6, 2020
blms added a commit that referenced this issue Oct 6, 2020
blms added a commit that referenced this issue Oct 6, 2020
blms added a commit that referenced this issue Oct 7, 2020
blms added a commit that referenced this issue Oct 7, 2020
blms added a commit that referenced this issue Oct 7, 2020
blms added a commit that referenced this issue Oct 7, 2020
(Also, handle no groups on doc edit)
blms added a commit that referenced this issue Oct 7, 2020
blms added a commit that referenced this issue Oct 8, 2020
- Restricted to admins
- Pagination
- Uses range queries for default sort by _id asc/desc
- Uses `.skip()` for sorting by other attributes
@blms
Copy link
Member Author

blms commented Oct 8, 2020

Backend:

  • /admin/groups api route:
  • /admin/documents api route
  • /admin/users api route

blms added a commit that referenced this issue Oct 8, 2020
blms added a commit that referenced this issue Oct 8, 2020
blms added a commit that referenced this issue Oct 9, 2020
#50 Pull in some fixes and temp admin view
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
- Create api/admin/documents route
- Make adminUtil generic
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 19, 2020
blms added a commit that referenced this issue Oct 20, 2020
- pages/admin/index.js -> jsx
- AdminHeader separated into component
- Allow "tab" query string on admin/index.jsx
blms added a commit that referenced this issue Oct 20, 2020
blms added a commit that referenced this issue Oct 20, 2020
blms added a commit that referenced this issue Oct 20, 2020
blms added a commit that referenced this issue Oct 20, 2020
blms added a commit that referenced this issue Oct 20, 2020
blms added a commit that referenced this issue Oct 20, 2020
blms added a commit that referenced this issue Oct 21, 2020
blms added a commit that referenced this issue Oct 21, 2020
blms added a commit that referenced this issue Oct 21, 2020
blms added a commit that referenced this issue Oct 22, 2020
- This required lots of ripple effects and error handling!
blms added a commit that referenced this issue Oct 26, 2020
blms added a commit that referenced this issue Oct 26, 2020
blms added a commit that referenced this issue Oct 26, 2020
blms added a commit that referenced this issue Oct 26, 2020
blms added a commit that referenced this issue Oct 26, 2020
blms added a commit that referenced this issue Oct 26, 2020
@blms blms added the DB Related to the database label Oct 26, 2020
blms added a commit that referenced this issue Oct 26, 2020
blms added a commit that referenced this issue Oct 28, 2020
blms added a commit that referenced this issue Oct 28, 2020
blms added a commit that referenced this issue Oct 28, 2020
blms added a commit that referenced this issue Oct 28, 2020
blms added a commit that referenced this issue Oct 28, 2020
blms added a commit that referenced this issue Oct 28, 2020
blms added a commit that referenced this issue Oct 28, 2020
@blms blms closed this as completed in #71 Oct 28, 2020
blms added a commit that referenced this issue Oct 28, 2020
#50 Implement admin role and admin view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DB Related to the database UI/UX Related to the user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant