Project:Views Custom Field
Version:6.x-1.0
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

what is the code you're using?

#2

I'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?

#3

This 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.