I have a senario where I would like Views to either allow me to use a custom Access control or allow me to specify some logic such as "This or This". So for instance, I could write a function

return (user_access('Permission 1') || user_access('Permission 2'));

Any suggestions?

Maybe a custom views access handler? If this is the option... anyone got a good link to an example access handler?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.