Problem/Motivation

For some reason, private archives are showing in the aggregate archive api even though the user is not permed to see private archives.

Acceptance Criteria

* archives that are considered private are not showing in the api unless the user has the perms to see them.

Testing steps

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

swirt created an issue. See original summary.

  • swirt committed 1f355695 on 1.0.x
    Fix #3604099 Make api respect private and roles
    
swirt’s picture

Status: Active » Fixed

This also removed the extraneous permissions of

  • view dataset restricted public archive
  • view unpublished dataset restricted public archive
  • edit dataset restricted public archive

This permission did nothing so removing it should have no consequences.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • swirt committed da795c61 on 0.333.x
    Fix #3604099 Make api respect private and roles
    

  • swirt committed 03c7c770 on 1.1.x
    Fix #3604099 Make api respect private and roles
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.