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
Admin-set collections are displayed private while visibility is set public #3432
Comments
@no-reply @vantuyls - I need some feedback on how this should behave. So, for collections (all types except Admin Sets), that permission badge (in the visibility column) is showing the collections's visibility: "These settings determine who is able to discover and view this collection's landing page; they do not affect the visibility of items in the collection." Admin Sets do not seem to contain an equivalent visibility setting (visibility on the AdminSet itself appears to always be 'restricted'). I was thinking this was as simple as showing the visibility setting on the associated PermissionTemplate - and this does work as far as showing "Private", "Institution" or "Public" in the badge - but it looks like Permission templates can have nil visibility (and from looking at the code - maybe even other values.) Also, that visibility setting is not related to the discovery of the Admin Set itself like it is for Collections: "Release and visibility settings determine the options available to depositors when submitting a work to this administrative set. Changes to these settings do not affect previously deposited works." What do you think is the "correct" behavior here. Maybe it is correct that "Private" is showing for all Admin Sets? Or should that permission badge not be shown at all for admin sets? Or just not shown if it's something other than Public, Institution, or Private? Or... ? |
not sure about the design, but I agree with @kdid that confusion is when Visibility "badge" in this "collection index" is to display the visibility/discoverability of the collection object itself, not the works in the collection and admin sets are not allowed to be visible. I agree that having no badge for admin sets listed in the collection index view is confusing/feels buggy! |
@kdid I updated my original comment b/c i realized I was restating what you already said. Sorry about that! comment edited. |
Just to clarify in case it's not clear in the initial issue - Right now Admin Sets always display with a "Private" badge. |
if admin sets are not discoverable then Private is a fine label. |
After discussion yesterday with @no-reply @chrisdaaz and @vantuyls we came to a consensus that we should leave this functionality as is for now. AdminSets are not discoverable, which is what the permission badge in the visibility column is indicating for Collections. We know that this leaves a confusing situation in the UI, but think the work to change this should be undertaken in conjunction with the remaining work to actually make AdminSets a type of Collection. Returning this issue to backlog. |
on SIGAHR call today, we discussed that one solution to help clarify this would be to add a third tab to the Collections dashboard page that only shows Admin Sets, and prevent Admin Sets from appearing in other collection tabs. More discussion is welcome. |
Just adding this comment from slack: |
The visibility marker in the UI on the Collections page is the visibility of the collection/admin set itself. It does not reflect the visibility setting that will be used for newly created works. Terminology for Collection Type SettingsContainer - Instance of the Admin Set collection type or any other collection type VISIBILITY - Controls visibility of works -- Determines if visibility of works created in this container can be controlled by further settings on the container itself. (Currently limited to the Admin Set collection type.) DISCOVERABILTY - Controls visibility of container -- Determine if the container itself can be discovered through search by non-logged in users. (Currently the Admin Set collection type can NOT have discovery turned on.) CollectionExample Collection Type settings for non-admin set collection type (e.g. User Collection)These settings can vary except that the last 3 will never be selected for a non-admin set collection type. VISIBILITYCan never be turned on for non-admin set collection type. Non-admin set collection types NEVER have the DISCOVERYThis can be checked or not checked for any non-admin set collection type. When checked, any collections of this type will have a Discovery tab in the Edit Collection form. The user can set the visibility of the collection itself to Public, Institution, or Private. This effects whether a non-logged in user can discover this collection in search. It does NOT impact the discoverability of any works in the collection. When NOT checked, any collection of this type will be Private. The Discovery tab will NOT be visible in the Edit Collection form. Non-logged in users will not be able to discover or view this collection. Admin SetCollection Type settings for the Admin Set collection typeVISIBILITYThis setting is always ON for every Admin Set. The DISCOVERYThis setting is always OFF for every Admin Set. The I notice an error in these settings on nurax. DISCOVERY is shown as checked and SHOULD NOT be checked. You cannot set the discovery of an admin set. All admin sets are PRIVATE, meaning the admin set itself cannot be discovered. In spite of this setting, all admin sets continue to be private. I thought this bug was fixed. |
For this specific issue... the badge indicates whether the collection/admin set itself is discoverable. For admin sets, the visibility of the admin set itself is always PRIVATE and so the badge always = PRIVATE. For non-admin_set collections, it may be forced to be PRIVATE (if DISCOVERY for it's collection type is OFF), or the collection admin may be able to set it to PRIVATE, PUBLIC, or INSTITUTION (when DISCOVERY for it's collection type is ON). The summary in the list of collections at |
Seems like labeling confusion. Collection Level Visibility would be more descriptive. But that would make the label very long. |
Related Documentation: |
@jlhardes looks like this one needs a decision and perhaps documentation. |
From what I can tell, there are several things going on here.
Sorry for such a long list of things but this is a part of the application that is easily confusing. If I am mistaken on any of those points above, please let me know. |
Proceed with documentation updates to explain Visibility portion of Admin Set tab. Any development changes will be a new issue. |
Adds documentation for administrative sets in Hyrax 3.0, to address samvera/hyrax#3432 Adds documentation for collections in Hyrax 3.0 to address samvera/hyrax#3816 Adds side menu navigation for above two pages, as well as proxy documentation in #434
samvera/samvera.github.io#436 addresses this ticket. See last paragraph under the section "Creating an Administrative Set". |
Documentation explaining admin sets and visibility settings in Hyrax 3.x available at https://samvera.github.io/administrative-sets-3.x.html |
Descriptive summary
Collections are displayed private https://nurax-dev.curationexperts.com/dashboard/collections?utf8=%E2%9C%93&locale=en&q=Hyrax+v3.0.0beta
while visibility is set public https://nurax-dev.curationexperts.com/admin/admin_sets/c534fp06m/edit?locale=en#visibility
Don't mind the broken thumbnails https://nurax-dev.curationexperts.com/dashboard/collections?utf8=%E2%9C%93&locale=en&q=Hyrax+v3.0.0beta
Rationale
Expected behavior
For admin-set collections visibility column in collection listing should display the actual visibility setting of that collection.
Actual behavior
For admin-set collections visibility column in collection listing displays
private
irrespective of actualvisibility setting of that collection.
Steps to reproduce the behavior
admin set
collectionpublic
visibility (default)Related work
Link to related tickets or prior related work here.
The text was updated successfully, but these errors were encountered: