Closed (fixed)
Project:
Administration Views
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2012 at 09:25 UTC
Updated:
6 Aug 2012 at 16:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
mrfelton commentedI think it's just a permissions issue. The views access permissions defined for the /admin/content path should be as per node.module. Patch attached.
Comment #3
damiankloip commentedOk, so we should change this to the 'access content overview' permission, as this is what is used for this page in the node module.
Comment #4
mrfelton commentedYes, which is what my last patch did. But you have difference in the description of the menu item. The menu item should be same as the one that core provides, which has the description of "Find and manage content.", not "View, edit, and delete your site\'s content.". That was from Drupal 6 I think.
Comment #5
damiankloip commentedOk, makes sense. Thank you.
Comment #6
damiankloip commented#1: 1627020-admin_views-content-overview-permission.patch queued for re-testing.
Comment #7
damiankloip commentedSorry, I guess I was being stupid ;)
I have queued your patch for re-testing, as I don't think it failed because of the patch last time.
Comment #8
damiankloip commentedActually, I think you are referring to the view description and not a menu item. The system style plugin in admin_views just overrides what is at a system path, it doesn't declare any menu descriptions etc...
So the patch in #3 is probably good.
Comment #9
mrfelton commentedBoth patches have passed. Lets get one of these committed!
Comment #10
sunI'm fine with #1. The view descriptions were originally supposed to equal the menu item descriptions.
That said, I'd like to see a follow-up issue to investigate why we're overriding the access permissions in the first place. I'd somehow expect that the system display handler only replaces the page content, and nothing else. That's a larger issue though, and we can commit this stop-gap fix independently from that.
Comment #11
damiankloip commentedOk, That's enough agreement for me :) Committed.
Comment #12
damiankloip commented@sun, you also have a very good point regarding the access. This should be inherited from the current menu item. I have created an issue for this: #1697902: Access should be inherited from menu_item, not view access plugin.