Open davidcam-src opened 1 month ago
9 files ±0 9 suites ±0 17m 7s :stopwatch: +26s 4 759 tests ±0 4 684 :white_check_mark: - 12 63 :zzz: ±0 12 :x: +12 6 491 runs ±0 6 416 :white_check_mark: - 12 63 :zzz: ±0 12 :x: +12
For more details on these failures, see this check.
Results for commit 290031d3. ± Comparison against base commit 4d2c654a.
:recycle: This comment has been updated with latest results.
Fixes
Fixes #6822
Summary
Guidance for testing:
Criteria: Users should not be able to share works to groups outside of the visibility restrictions of the admin set it belongs to
Criteria: Users should not be able to share works to groups outside of the visibility restrictions of the admin set it belongs to
Changes proposed in this pull request:
file_set_admin_set_option
function added to retrieve the admin set for any given fileadmin_set_options
partial added topermission.html.erb
to ensure the permissions control javascript executescurrent_user.groups
inpermission_form.html.erb
withavailable_user_groups
function call