Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2011 at 15:15 UTC
Updated:
26 May 2016 at 08:07 UTC
Jump to comment: Most recent
Comments
Comment #1
tangamampilia commentedYes, your solution is the only one way to override the roles :-/
Comment #2
dawehnerYeah that's right, that's the expected behavior. In previous version of views you had the override button just on the access type selection, which annoyed other people as well.
I'm sorry but changing this would break other things.
Comment #3
djg_tram commentedThat doesn't seem to be the real problem. I have a triple view, all three are pages and I simply can't change the access rights on the third one. I'm fully aware of how to change it with "This page (override)" but all three pages get it changed all the time. And there will be no italics on the third page to show the overridden status.
Comment #4
dawehnerNeeds review means that there is an actual patch.
@djg_tram
Do you try to change the settings on the access settings, though having the acccess type not overridden? I'm just wondering, because you didn't described that.
Comment #5
djg_tram commentedI have three pages, 1, 2 and 3. In the beginning, all have the same access (not by role but by permission). Then I try to modify the rights to page 3. I make sure I have "page override" selected when I change to a different permission. Only Page 3 gets the asterisk showing that it was modified but all three pages get the new permission, and there is no override for Page 3.
All relevant modules are up-do-date.
Comment #6
xatoo commentedI can confirm this bug. It was reproduced with the steps in #5 and using views 7.x-3.x-dev, core 7.12.
Also the same problem occurs with two pages.
- Access to the default view, so both pages, is given to role A and B.
- I want to override page 2 to only allow role B to access the view. So I deselect role A and make sure I select "override" in the dropdown.
- I see that only page two is marked with an asterisk, as expected. But even before saving, when I go to page 1, I see that role A has been deslected there as well.
The strange thing is that when I override page 1 instead of page 2, then it works fine.
Since access restrictions are changed without the knowledge of a user I would consider this to be quite a security issue.
Comment #7
xatoo commentedAlso, it is not a UI issue and I don't think TipiT is going to work on it. (correct me if I'm wrong)
Comment #8
dawehnerThis seems to be similar to #1174588: Overriding 'Display access settings' changes all displays unless 'Access control type' is also overridden all people are confused by that.
Comment #9
dawehnerLet's mark it as duplicate of #1174588: Overriding 'Display access settings' changes all displays unless 'Access control type' is also overridden
Comment #10
matthieu_collet commentedYes ! thank you, I would never thing to somtehing like that
We can call this a bug I think, I hope it will be fixed