Skip to content

DataProviders: restriction panels: new toggles and defaults #1004

@prioux

Description

@prioux

A data provider's show page has a few control panels where the admin can decide if files can be moved or copied to other providers, and which remote_resources (BrainPortals and Bourreaux) can synchronize the file contents.

This is done with several large tables of checkboxes.

Add:

  1. a 'toggle all' checkbox at the top of each table
  2. a master 'default' checkbox with a value that will apply to future DPs and remote_resources
  3. HTML label tags on all the names

For 2), this will also require adding support to fetch that default value in the DataProvider class, in methods rr_allowed_syncing? and dp_allows_copy?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions