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

update embargo admin permission #13

Merged
merged 2 commits into from
Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,10 @@ An embargo can be applied to an existing node by navigating to
`node/{node_id}/embargoes`. From here, an embargo can be applied if it doesn't
already exist, and existing embargoes can be modified or removed.

## Troubleshooting/Issues

Having problems or solved one? Contact
[discoverygarden](http://support.discoverygarden.ca).

## Maintainers/Sponsors

Current maintainers:

* [discoverygarden](http://www.discoverygarden.ca)

## Development

If you would like to contribute to this module, please check out the helpful
[Documentation](https://github.com/Islandora/islandora/wiki#wiki-documentation-for-developers),
[Developers](http://islandora.ca/developers) section on Islandora.ca and create
an issue, pull request and or contact
[discoverygarden](http://support.discoverygarden.ca).
* [FSU Library](https://github.com/fsulib/embargoes)
* [discoverygarden](http://support.discoverygarden.ca)

## License
[GPLv2](http://www.gnu.org/licenses/gpl-2.0.txt)
1 change: 1 addition & 0 deletions embargoes.routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ embargoes.node.embargoes:
requirements:
_permission: 'manage embargoes'
options:
no_cache: true
parameters:
node:
type: entity:node
Expand Down
19 changes: 0 additions & 19 deletions modules/embargoes_log_views/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,5 @@ You can create more log views by navigating to `admin/structure/views/add` and
selecting 'Embargoes log entries' from the 'Show:' drop-down menu under 'View
Settings'.

## Troubleshooting/Issues

Having problems or solved one? Contact
[discoverygarden](http://support.discoverygarden.ca).

## Maintainers/Sponsors

Current maintainers:

* [discoverygarden](http://www.discoverygarden.ca)

## Development

If you would like to contribute to this module, please check out the helpful
[Documentation](https://github.com/Islandora/islandora/wiki#wiki-documentation-for-developers),
[Developers](http://islandora.ca/developers) section on Islandora.ca and create
an issue, pull request and or contact
[discoverygarden](http://support.discoverygarden.ca).

## License
[GPLv2](http://www.gnu.org/licenses/gpl-2.0.txt)
2 changes: 1 addition & 1 deletion src/Entity/EmbargoesEmbargoEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* },
* },
* config_prefix = "embargoes_embargo_entity",
* admin_permission = "administer site configuration",
* admin_permission = "manage embargoes",
* entity_keys = {
* "id" = "id",
* "label" = "label",
Expand Down