gypprov Posted February 14, 2014 Report Share Posted February 14, 2014 Hi, We are thinking of having a "main menu" to our application. Basically -> In users table, there is a Role field which states which role the user is assigned. Admin, Manager and normal. When the user logs in, we want the menu to show only the parts that the user should be accessing. Is there any way to achieve this using Caspio? Two ideas we have in mind (a) Hide/show links according to role field value. ( Redirect user to 3 different Datapages depending on their role value. Thank you. Quote Link to comment Share on other sites More sharing options...
0 senicholas Posted February 14, 2014 Report Share Posted February 14, 2014 Look for plug in called Access. It works great and is easy to set up. You can create roles and assign menu options depending on the role of the login Quote Link to comment Share on other sites More sharing options...
0 senicholas Posted February 14, 2014 Report Share Posted February 14, 2014 Sorry, I use WordPress and use Caspio as my Database. The Access is a Wordpress add on. So, my reply above does not apply directly Caspio Quote Link to comment Share on other sites More sharing options...
0 Jan Posted February 19, 2014 Report Share Posted February 19, 2014 Hello gypprov, If "Redirect user to 3 different Datapages depending on their role value" works for you, you can use a HTML-page to redirect a user. Quote Link to comment Share on other sites More sharing options...
0 gsm Posted May 6, 2014 Report Share Posted May 6, 2014 Gypprov, Did you ever find a resolution to this question? I have the same dilemma and I'm not sure the replies here solved it. Thanks! Quote Link to comment Share on other sites More sharing options...
0 casGary Posted May 7, 2014 Report Share Posted May 7, 2014 You may consider to create three views based on your main table and in this way to provide a proper access to each category of users (Client, Manager, Admin). Have a look at this: http://howto.caspio.com/tables-and-views/what-are-views/creating-a-view-to-filter-data/ Quote Link to comment Share on other sites More sharing options...
Question
gypprov
Hi,
We are thinking of having a "main menu" to our application.
Basically
-> In users table, there is a Role field which states which role the user is assigned. Admin, Manager and normal.
When the user logs in, we want the menu to show only the parts that the user should be accessing. Is there any way to achieve this using Caspio?
Two ideas we have in mind
(a) Hide/show links according to role field value.
( Redirect user to 3 different Datapages depending on their role value.
Thank you.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.