Active
Project:
Views Custom Field
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2009 at 18:59 UTC
Updated:
20 Jul 2009 at 08:47 UTC
I have a custom field in my view that generates a buttons. The buttons are generated via php. I have two roles. Admin and Staff. If I hit the page as myself or as a user with the role of admin, I see my buttons. If I log in with the role of staff, I don't see the buttons.
Because the fields are created on the fly, there are no permissions to set and my views are set as "unrestricted".
If anyone can help, I would be grateful.
Comments
Comment #1
casey commentedwhat is the code you're using?
Comment #2
gwlangie commentedI'm am sorry for not getting back to you sooner. I was traveling today.
I am using php to generate an html button that runs a function. It works perfect when I am logged in or the role as admin is logged in. I added a two new roles this last week. Staff and Staff Admin. The users I have assigned to these roles do not see the buttons. The views permissions are unassigned.
So I am thinking. The roles that were created before the views were created seems to work just fine. The roles created after the view was created don't. Could this be a problem with the views module not refreshing the permissions?
Comment #3
casey commentedThis module doesn't use extra permissions than already in the views module itself. So I guess it has something to do with the function you are running.