Need to assign user role to block in views module
jefbak2 - July 23, 2008 - 13:26
| Project: | Views |
| Version: | 5.x-1.6 |
| Component: | block displays |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I need to be able to assign a block access role to blocks created in the views module. Right now I have to create the block view, and then go to the blocks module and configure the block to assign a role to who can view the block. Since I have many many blocks it would be much much faster to do this in the views module.
Thanks for any assistance.

#1
I don't understand. Views already have a role access setting.
#2
For me, the role access does not carry over the the block module access settings. If I set up access in a block view and then go to the blocks module -- when I choose to configure the block, all the access roles are unchecked indicating that everyone can see the block. I have to re-select the role to make the block show up for the right people.
Is this the case for you?
#3
Well in the block access UI (which Views absolutely cannot affect) it may or may not have its own idea of access. But if Views says "only these roles can see the block" that UI is irrelevant. Views will still restrict the block to the roles you selected.
#4
Thanks, I will try that.
#5