This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Checking Permissions in Permission Groups in the Web Portal

Hi, I'm doing some customisation in the web portal and I want to implement permissions to base this customisation off. What I want is a number of permission groups each with their own permissions. Each permission can be applied to one or more permission groups. I want to query which permissions (not just permission group) the currently logged in user has and change some action, such as viewing or editing particular attributes, depending on which permissions the user has. Is this posisble? And if so, how do I query this information from within the web portal? Thanks for any help.

  • So basically you want to bring the designer fat client functionality to the end user web portal?
    And all the things usually a system user would do in designer, should be done by a role based person?
    And this should be fast and can be safely made in production, at any time?
  • Hi,

    AFAIK, the tables you need to query your info are

    DialogGroup (Roles/Permission Groups)
    DialogColumnGroupRight (Column permissions)
    DialogUserInGroup (Users in Groups)

    Some kind of join between these might give you what you need.

    HTH
    Kin
  • Thanks Kin. I don’t think I’ll be doing this now anyway because as far as I can tell, you can’t put Application Roles in the IT Shop and this needs to be requestable. So I think I’ll do the same kind of thing with some business roles and other dynamic roles that will be used as the ‘permission flag’.