Skip to content

Commit

Permalink
Merge pull request #13 from qadan/embargo-admin-permission
Browse files Browse the repository at this point in the history
update embargo admin permission
  • Loading branch information
IAMlKeno authored Sep 1, 2020
2 parents cd50724 + a6ed5c0 commit 9472b82
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 36 deletions.
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

0 comments on commit 9472b82

Please sign in to comment.