Ask and answer questions about WebRatio, WebML and BPMN

Hi, How can I enter in a site view protected from login unit?

I have two sites view, one public, where there are a login unit and an entry unit, and another private, where there is a logout unit, How can I switch from the public to the private?

Thanks Alessandro

asked 04 Jan, 05:06

aoggianu's gravatar image

aoggianu
25122
accept rate: 100%


Hello Alessandro, to be forwarded to the right Site View, the user that tries to login in the application must be stored in the database and connected to a Group on the Default Group relationship. This group must be connected to a Default Module stored in the database using the id of the Site View and its name. If you are passing correctly the username and the password to the Login Unit, this will evaluate the relationships between users, groups and modules, and will forward the user to his Default module.

I suggest you also to visit this URL:

http://wiki.webratio.com/index.php/How_to_use_the_protected_modules

that will explain you how to set the protected elements in the Web Model and configure them correctly, while here http://wiki.webratio.com/index.php/The_Login the login is explained.

link

answered 04 Jan, 09:45

mariobrunowr's gravatar image

mariobrunowr
2553
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3

Asked: 04 Jan, 05:06

Seen: 315 times

Last updated: 04 Jan, 09:45

©2001-2011 Web Models s.r.l. All rights reserved