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

Fedora URL display settings don't work? #1523

Open
mjordan opened this issue May 28, 2020 · 4 comments
Open

Fedora URL display settings don't work? #1523

mjordan opened this issue May 28, 2020 · 4 comments
Labels
Subject: Access Control related to managing roles and permissions/information security. Subject: User Experience Related to a user’s experience with the software. Type: documentation provides documentation or asks for documentation.

Comments

@mjordan
Copy link
Contributor

mjordan commented May 28, 2020

My interpretation of the "Fedora URL display" settings at admin/config/islandora/core is that if you uncheck a content type, the Fedora URL should not be displayed. For example, I can uncheck "Repository Item" and save the config settings:

image

But, the Fedora URL continues to show up on nodes of that content type:

image

Am I misunderstanding how that works?

@seth-shaw-unlv
Copy link
Contributor

I've hit this before. The form doesn't remove the pseudo field from the display modes when they are unchecked. To remove the Fedora URI (if I recall correctly):

  1. Make sure it is enabled first
  2. Update the display modes for the item you are removing the URL from by dragging it down to 'Disabled'
  3. Go and unselect it in the Islandora config form.

Alternatively, you can go manually edit the display mode configs and reload them using Features.

We should probably update the config form submit code to actively go and remove the field from the related display mode configs...

@mjordan
Copy link
Contributor Author

mjordan commented Jun 11, 2020

Verified these instructions work. The confusing part (at least for me) is that you have to do it for all the view modes for your content type. The fields within view modes are not managed at admin/structure/display-modes/view as the admin menu would suggest, they are managed within each content type:

display

Very confusing. A Drupal feature, not an Islandora feature. And if I had 10 content types, and 5 view modes each, I'd get to do it 50 times!

At the June 10 tech call, we discussed various ways of implementing this field so it is viewable only by specific roles. I don't think we came to a consensus on what the best way to do this was though.

@seth-shaw-unlv
Copy link
Contributor

The simplest way is probably to use field_permissions.

Although, we should probably adapt the islandora settings form submitForm function to go remove the field from the display modes that were de-selected. Let code go and fix all 50 display configs.

@kstapelfeldt kstapelfeldt added Subject: Access Control related to managing roles and permissions/information security. Type: documentation provides documentation or asks for documentation. Subject: User Experience Related to a user’s experience with the software. and removed Access control labels Sep 25, 2021
@rosiel
Copy link
Member

rosiel commented Sep 1, 2022

All of these suggestions to "fix" an individual site do not address the fact that people continue to and will continue to get confused and frustrated by this.

As the feature is presented to the user (make Fedora URI available for these content types), the logical expected behaviour is, as Mark said, for the Fedora URI field to not show up when it's not checked. How much effort would it take to make that happen?

I'm afraid there might be some understandable confusion around what this feature is for. As I understand it, showing the Fedora URI:

  • displays a hypothetical fedora URI based on the UUID of the node, for the convenience of repository admins who want to navigate to it in Fedora.
  • is not an indication that the Fedora URI exists in Fedora.
  • is not an indication that we ever tried to index that content type in Fedora.
  • does not change whether or now that content type will get indexed in Fedora
  • does not mark a content type/bundle as "Islandora" according to:
    • the context condition, "Node is an Islandora Object"
    • nor for the (new) Views filter, "Node Is Islandora"
    • nor for the logic that dictates whether the "Children" and "Media" tab will appear on a node. All of those rely on what fields are on the node.
    • We talked about using the Fedora URI checkbox for these purposes, but never went ahead with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Access Control related to managing roles and permissions/information security. Subject: User Experience Related to a user’s experience with the software. Type: documentation provides documentation or asks for documentation.
Projects
Development

No branches or pull requests

4 participants