Redirecting users to another site view

12 Oct '14, 09:53 PM
25,192 Views
No Forum Badges

Hello,

I'm currently working on a project where I want to distinguish between two kind of users. They both login using the same form. After they have logged in, I want to redirect the first kind of users to site view A and the other group of users to site view B.

I've read about users, groups and modules but I'm not sure how to do this. Shoud I include this kind of information myself in the groups/modules table in MySQL? Or is it possible with the Webratio interface?

 
x 2
Follow
Answer Answer at this question and get points!
Forum Expert - Level 6

Hi Martijn,

suppose to:

  • have the groups Admin Senior and Admin Junior
  • they both access to the same site view
  • Admin Senior can read update and delete
  • Admin Juniot can read and update but not delete

What you have to do to model a situation like this is:

  • create the site view and protect it
  • set the site view as default module for both groups
  • set an additional protection on all the delete actions of the site view
  • set all of the delete actions as secondary modules only for the Senior Admin using the bridge table
  • generate and enjoy

Let me know if this is enough or you need other details!

Regards,

Lucio

   
x 1
Answer at this question and get points!

Related questions

Ajax and FCK Editor (WebRatio 5.x) Ajax onchange and jQuery 2.x (with migrate plugin) incompatible Ajax on change selection field and modify units Autocomplete template Automatic date in form Automatic file upload BPMN: URL field Change uplod directory and protect anauthorized access to files ckeditor - change directory for the browser Clean a form Como crear cambio de contraseƱa Como tener dos botones juntos en un formulario independientes de una accion? Como usar la funciĆ³n autocomplete en un field Compare with the current time Confirm dialog for mobile coupled mandatory fields Cryptic error when submitting a form Disabilitare campi durante evento AJAX Drop down menu question Dudas sobre modelado(Data Flow,Forms y Operation Create) Dynamic attribute/field names. Possible? Dynamic instantiation of fields on a page for any Class type Empty record mistakenly saved entry form logic. Entry Unit - Default field timestamp Entry Unity, Field Date Type Error Error Cross-site request forbidden Field as link soruce Form element Form template Getting the absolute path of a RTXBLOBData Hide form until a flow is triggered Hiding form components based on page conditions Hierarchy component How I can receive the primary key value after adding into database from OK Port. How to redirect to the correct site view after a successful login attempt input mask Multi Entry Unit: How to forward only checked rows? Multi-Image Upload Multiple forms on one page. HTML5 input attributes. Possible? (2 questions) multi selections field problem Multi Selects didn't work in update page Prelevare la chiave del record da una Selection Field in una Multiple Form Problem saving multi selection from input Progress bar when uploading big file(s) in a form? Pulire URL Resize fields Search by Selector component does not work selection fields on cascade Select multiple files for upload Setting Upload directory Showing items that have a relation with an entity Slot in Selection Field Update fields based on selection of other fields Updating attributes of an entity upload file and the move it to other location upload file html Uppercase Urgent: Google Chrome download error, Unsure Uso de la componente chart de webRatio Validacion validation fields Value Length (Min) fails to validate when field is empty? WebRation - Create Navigation diagram What are the new features of WebRatio 6.1? which of these three models is closer to webratio/ifml way of creating web applications