clowder-framework / clowder2

Clowder v2 (in development)
Apache License 2.0
12 stars 6 forks source link

Start clowder admin implementation #433

Open tcnichol opened 1 year ago

tcnichol commented 1 year ago

For beginning the admin, the following:

### Tasks
- [ ] https://github.com/clowder-framework/clowder2/issues/803
- [ ] https://github.com/clowder-framework/clowder2/issues/812
- [ ] https://github.com/clowder-framework/clowder2/issues/817
- [ ] https://github.com/clowder-framework/clowder2/issues/830
### Tasks
longshuicy commented 1 year ago

I can work on the GUI of the superadmin mode Does that mean we need a profile page as well?

lmarini commented 1 year ago

I don't think we need a profile page for this yet? We should think of some pages / functionality that requires admin before we start this.

ddey2 commented 11 months ago

Created a task with 1st 3 checklists.

ddey2 commented 11 months ago

I was thinking of the usecases which will require admin permission :

  1. To delete datasets/files/folders which you don't own.
  2. To view private datasets which you don't own (may be?)
  3. To set others as admin, for which we need UI
  4. Set permissions for different users in user groups. (similar to 3)
ddey2 commented 11 months ago
  1. reindexing indexes
  2. metadata definition edition
  3. approve users who have signed up
  4. modify elasticsearch which adds a clause to filter it by permission
ddey2 commented 11 months ago

Create 2 depends -

  1. which returns true if you're an admin
  2. takes datasetId as parameter, and returns true if you have permission or an admin
ddey2 commented 11 months ago
  1. Super-admin: impersonate other
  2. use keycloak roles for admin