Results 1 to 9 of 9

Thread: Roles & Permissions

  1. #1
    Senior Member
    Join Date
    Jan 2016
    Posts
    160

    Roles & Permissions

    I have created two roles with which I want to be able to open a specific app from the App Center. I want only the people assigned with this role to be able to view and use the app icon. For all other roles and those without roles assigned, I would like the app not to show in their app center. I tried adding the two roles I created to the read portion of permissions and roles section of the app, thinking this would do it. What am I missing?

  2. #2
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135
    Hi

    You can do that.

    App Roles


    If I assign any Read roles, I can hide the entire App from any user who doesn't have that role.



    Before testing the Page roles in the Lianja App Center on my development machine, I need to 'Publish' the roledemo App and 'Deploy' the users tables and the roledemo App.
    Now, if you save the App - deploy if you want to test in the Lianja App Center - and Login as Ricky from Reception, who does not have the sales or hr role, the roledemo App tile is not displayed.
    http://www.lianja.com/doc/index.php/Users_and_Roles
    Last edited by josipradnik; 2017-01-16 at 11:29.

  3. #3
    Senior Member
    Join Date
    Jan 2016
    Posts
    160
    That is what I thought, but for some reason it is not working. Anyone who logs in and still see the app. I have my app set to released and published and everything else appears to be working.

    Name:  Untitled-1.jpg
Views: 84
Size:  90.7 KB

  4. #4
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135
    I suppose you deployed "system" along with your database, right?

  5. #5
    Senior Member
    Join Date
    Jan 2016
    Posts
    160
    Yes. That is what is most puzzling. I even tried changing logins in the app builder and the icon still shows up. It is a bit puzzling. I included a screen capture of my user setting to see if anyone sees something that might be causing the problem. Name:  Untitled-1.jpg
Views: 123
Size:  60.5 KB

  6. #6
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135
    I quick tested and got the same result: the user without any role set see the app icon in App Center as any other user logged.

    Submit the ticket.
    Something was broken in code because I know it worked before, when I played with it.

  7. #7
    Senior Member
    Join Date
    Jan 2016
    Posts
    160
    So for now should I assign a general role to everyone who is blank?

  8. #8
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135
    Lianja Team will solve this in no time after you submit the ticket.
    Move on and do other stuff - come back to users/roles when they solve it.

  9. #9
    Senior Member
    Join Date
    Jan 2016
    Posts
    160
    OK, thanks.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us