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

Address field_access_terms tickets and a few minor things #178

Merged
merged 8 commits into from
Jul 16, 2021

Conversation

bseeger
Copy link

@bseeger bseeger commented Jul 6, 2021

This ticket addresses #110 and #125.

Specifically, it:

  • adds field_access_terms to media tests
  • makes the field_access_terms a required field on all entities, and adjusts test code as needed, to include the field.
  • updates snapshot to include a value in the Islandora Access Terms vocab for testing purposes only. Since it's a required field now, it's nice to have something there to make creating objects easier.

Other things this does related to those tickets, but not specifically outline in those them:

  • makes member_of field a single value field, since we can only put an item in one collection. This prevents admins from putting items in more that one collection, as our system is not setup to handle it.
  • makes the field_access_terms field have same permission as other fields (it had had custom perms before, but not sure they are necessary).
  • moves the field_access_terms from the default display for collection and repository items. This means they will not be part of the data shown in the UI to end-users. They can still be grabbed via the JSON API. This just makes it so that field's data doesn't show up on the repository item page in the metadata. I ran this past Katie before doing this and she thinks this is a good idea.

This last change is on drupal: when I export the drupal config, it changes a line in the contact_email ingest. Drupal does this to line up the id with the filename. We may as well fix this here. If not, than we should make a ticket to clean this up.

Bethany Seeger added 2 commits July 6, 2021 07:17
Makes field_access_terms a required field.
Adds field_access_terms to media tests.
Makes field_access_terms a required field.
Adds field_access_terms to media tests.
@github-actions
Copy link

github-actions bot commented Jul 6, 2021

This PR has no dependency differences with the base branch

@github-actions
Copy link

github-actions bot commented Jul 6, 2021

This PR has no dependency differences with the base branch

@github-actions
Copy link

github-actions bot commented Jul 7, 2021

This PR has no dependency differences with the base branch

@github-actions
Copy link

github-actions bot commented Jul 7, 2021

This PR has no dependency differences with the base branch

Fixes errors I had created in the tests.
@github-actions
Copy link

github-actions bot commented Jul 8, 2021

This PR has no dependency differences with the base branch

Moves "field_access_terms" out of the default display for repository item and
collection object
@github-actions
Copy link

github-actions bot commented Jul 8, 2021

This PR has no dependency differences with the base branch

@bseeger bseeger changed the title WIP: fixes field_access_terms tickets Address field_access_terms tickets and a few minor things Jul 8, 2021
@github-actions
Copy link

github-actions bot commented Jul 8, 2021

This PR has no dependency differences with the base branch

Copy link

@birkland birkland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@bseeger bseeger merged commit 22af025 into development Jul 16, 2021
@bseeger bseeger deleted the field_access_terms_issues branch July 19, 2021 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants