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

Read only mode #6160

Open
3 tasks
elynema opened this issue Jan 7, 2025 · 2 comments
Open
3 tasks

Read only mode #6160

elynema opened this issue Jan 7, 2025 · 2 comments

Comments

@elynema
Copy link
Contributor

elynema commented Jan 7, 2025

Description

For large production sites (like IU) to migrate to 8.0 requires a Fedora 4 to Fedora 6 data migration. We anticipate that will take several days at IU, and we do not currently have a straightforward process to perform a delta update of records updated/created/deleted in the production system during the migration process.

It would be useful to have a "read only" mode we could enable in Avalon where users could access materials, but not make changes.

Actions that should be unavailable include:

  • edit item (including structure, supplemental files, access/discovery, etc)
  • publish / unpublish item
  • create item
  • delete item
  • create collection
  • delete collection
  • edit collection metadata
  • edit item access at the collection level
  • create thumbnail/poster
  • selected items actions: merge, move, update access control, publish / unpublish, delete

This feature can be scoped to apply to Fedora data and actions, and not things that rely on the database.

The custom "Read only administrator" configuration in the MDPI Internal Content Access Avalon instance can be used to provide a base for this functionality.

Done Looks Like

  • flesh out list of actions that should be unavailable
  • investigate difficulty in setting this up as a feature in the codebase
  • read-only mode should hide action/edit buttons and show a relevant splash message if feasible
@elynema
Copy link
Contributor Author

elynema commented Jan 7, 2025

What about actions that don't impact Fedora, just the Avalon database?

  • create / edit timeline
  • create / edit playlist
  • check out / return CDL items
  • select / unselect items

@cjcolvar
Copy link
Member

cjcolvar commented Jan 8, 2025

I think end-user actions like those should still be enabled since they only write to the database. Same for manage groups / users.

Maybe this is an "Administrative read-only" as opposed to a "Sitewide read-only" which would also include actions that involve the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants