From a0054cddba83d61117d65e6d229497ea3679b45f Mon Sep 17 00:00:00 2001 From: qadan Date: Mon, 31 Aug 2020 11:27:38 -0300 Subject: [PATCH 1/2] update embargo admin permission --- src/Entity/EmbargoesEmbargoEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/EmbargoesEmbargoEntity.php b/src/Entity/EmbargoesEmbargoEntity.php index 0bfb32b..d0ea7be 100644 --- a/src/Entity/EmbargoesEmbargoEntity.php +++ b/src/Entity/EmbargoesEmbargoEntity.php @@ -24,7 +24,7 @@ * }, * }, * config_prefix = "embargoes_embargo_entity", - * admin_permission = "administer site configuration", + * admin_permission = "manage embargoes", * entity_keys = { * "id" = "id", * "label" = "label", From a6ed5c0f9b05395f1437afdca89491686b31ec50 Mon Sep 17 00:00:00 2001 From: qadan Date: Tue, 1 Sep 2020 13:00:42 -0300 Subject: [PATCH 2/2] cache issue, fixing readmes --- README.md | 18 ++---------------- embargoes.routing.yml | 1 + modules/embargoes_log_views/README.md | 19 ------------------- 3 files changed, 3 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 3100628..227f970 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/embargoes.routing.yml b/embargoes.routing.yml index 5564b1b..ad7a7de 100644 --- a/embargoes.routing.yml +++ b/embargoes.routing.yml @@ -22,6 +22,7 @@ embargoes.node.embargoes: requirements: _permission: 'manage embargoes' options: + no_cache: true parameters: node: type: entity:node diff --git a/modules/embargoes_log_views/README.md b/modules/embargoes_log_views/README.md index d4f4e23..e1298c0 100644 --- a/modules/embargoes_log_views/README.md +++ b/modules/embargoes_log_views/README.md @@ -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)