Skip to content

Commit

Permalink
Switch access to featured groups sort order view from role to permiss…
Browse files Browse the repository at this point in the history
…ion (#1803)

* Switch access to featured groups sort order view from role to permission

* Update CHANGELOG.txt
  • Loading branch information
janette authored and MSolv committed Mar 16, 2017
1 parent 289cacd commit b818427
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
7.x-1.13.x
- #1803 Fix broken access to featured groups sort order view.
- #1796 Fix Harvest support for contact name and contact email.
- #1795 Update front page test on topics.feature with @customizable.
- #1783 Update services to 3.19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,8 @@ function dkan_dataset_groups_views_default_views() {
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Featured Groups Sort Order';
$handler->display->display_options['defaults']['access'] = FALSE;
$handler->display->display_options['access']['type'] = 'role';
$handler->display->display_options['access']['role'] = array(
4 => '4',
);
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['access']['perm'] = 'administer DKAN configuration';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
Expand Down

0 comments on commit b818427

Please sign in to comment.