Note that there are some explanatory texts on larger screens.

plurals
  1. PORights modules uses a different application instance
    primarykey
    data
    text
    <p>I'm developing a Yii application which uses several modules including Rights module for access control. They all are residing in the same "modules" folder and configured in the same config/main.php file. And application has only one entry script.</p> <p>However I noticed that Rights module uses a different app session while all other modules uses another app session. Because of this reason user session is not shared with Rights.</p> <p>Has anyone encounter such issue with yii modules? please help. Thanks!</p> <p>my config file:</p> <pre><code>'rights'=&gt;array( 'debug' =&gt; true, 'superuserName' =&gt; 'Super Administrator', // Name of the role with super user privileges. 'authenticatedName' =&gt; 'Customer', // Name of the authenticated user role. 'userIdColumn' =&gt; 'id', // Name of the user id column in the database. 'userNameColumn' =&gt; 'username', // Name of the user name column in the database. 'enableBizRule' =&gt; true, // Whether to enable authorization item business rules. 'enableBizRuleData' =&gt; true, // Whether to enable data for business rules. 'displayDescription' =&gt; false, // Whether to use item description instead of name. 'flashSuccessKey' =&gt; 'success', // Key to use for setting success flash messages. 'flashErrorKey' =&gt; 'error', // Key to use for setting error flash messages. //'baseUrl' =&gt;'/rights', // Base URL for Rights. Change if module is nested. //'layout' =&gt; 'rights.views.layouts.main', // Layout to use for displaying Rights. //'appLayout' =&gt; 'application.views.layouts.main', // Application layout. //'cssFile' =&gt; 'rights.css', // Style sheet file to use for Rights. 'install' =&gt; false, // Whether to enable installer. ), </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload