Project

General

Profile

Reading the permissions of a user

Added by Riewert Holtermann over 13 years ago

Hello,

I've been reading about this topic for a while, but I couldn't find my answer.

Inside of my plugin, I would like to make some fields visible or not according
to the permissions given to a user.
Is it possible to read out the permissions of a user, so that I can store them
in a local variable, before rendering a view?

Thank you for every reply.

Best regards