Please contact your support team if you have a question or need assistance for any Rackspace products, services, or articles.
This question is not answered.
I am using yii2 basic application. I have code using simple Model, Controller and Views.I have Employee CRUD application in yii2. I have configured the user application component for authentication purpose and is working properly where only authenticated users can login.Now I want that when Admin logs in, he should see the admin panel which consist of Dashboard, Employee, Employee Training and other menus. Now when Admin clicks on Dashboard menu, he should see some statistics. Similarly when clicked on Employee menu, he should be able to access Employee CRUD and when clicked on Employee Training, Employee Training CRUD application should be accessed.Admin creates the Employees and Employee Training for employees. Admin should create roles and assign roles to Employees. Once an employee is created and role is assigned, then Employee should be able to log in into his account.When Employee logs in, he should be able to see employee control panel which consists of Dashboard, My Profile and some other menus. When employee clicks on My Profile menu, he should be able to view only his profile. Similarly when there is some CRUD application such as SHGGroup creation where employee creates group. Here if Employee A creates 4 groups and Employee B creates 10 groups, then when employee A logs in to his account he should be able to access only his created 4 groups. Similarly when Employee B logs in, he should be able to access his created 10 groups and so on.Should I need to design the application using modules, or using simple model, controller and views is fine?1. How can we have login for such case?2. Is only one login window sufficient?3. Do we need to create two separate login window for Employee and Admin? If so how to implement that? Do we need to create one more user application component?If we create a separate login window where from first login window employees can log in into the application and from second log in window, Admin can enter username and password and, then he can access everything in the application.What would be the way to implement?
The Rackspace Community (“Community”) is provided “AS IS” without warranty of any kind. The information on the Community sites is created by members of the Community and is intended for reference and general discussions only. Although some of the content may contain information provided by Rackspace employees, it does not represent an assessment of a particular customer environment or an assessment of any specific compliance with laws or regulations or constitute advice. We recommend that you engage additional expertise in order to further evaluate applicable requirements for your specific environment. For customer specific support issues please contact your Rackspace Support Team.READ MORE
RACKSPACE MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THE RACKSPACE OPEN CLOUD COMMUNITY SITE. RACKSPACE RESERVES THE RIGHT TO DISCONTINUE OR MAKE CHANGES TO ITS SERVICES OFFERINGS AND SPECIFICATIONS AT ANY TIME WITHOUT NOTICE. USERS MUST TAKE FULL RESPONSIBILITY FOR APPLICATION OF ANY SERVICES AND/OR PROCESSES MENTIONED IN ANY COMMUNITY DISCUSSIONS. EXCEPT AS SET FORTH IN RACKSPACE GENERAL TERMS AND CONDITIONS, CLOUD TERMS OF SERVICE AND/OR OTHER AGREEMENT YOU SIGN WITH RACKSPACE, RACKSPACE ASSUMES NO LIABILITY WHATSOEVER, AND DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO ITS SERVICES INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
ALTHOUGH PART OF THE COMMUNITY GENERATED CONTENT MAY EXPLAIN HOW RACKSPACE SERVICES MAY WORK WITH THIRD PARTY PRODUCTS, THE INFORMATION CONTAINED IN THE COMMUNITY DISCUSSIONS IS NOT DESIGNED TO WORK WITH ALL SCENARIOS. ANY USE OR CHANGES TO THIRD PARTY PRODUCTS AND/OR CONFIGURATIONS SHOULD BE MADE AT THE DISCRETION OF YOUR ADMINISTRATORS AND SUBJECT TO THE APPLICABLE TERMS AND CONDITIONS OF SUCH THIRD PARTY. EVEN THOUGH RACKSPACE EMPLOYEES MAY PARTICIPATE IN THE COMMUNITY DISCUSSIONS, RACKSPACE DOES NOT PROVIDE TECHNICAL SUPPORT FOR THIRD PARTY PRODUCTS, OTHER THAN SPECIFIED IN YOUR HOSTING SERVICES AGREEMENT YOU HAVE SIGNED WITH RACKSPACE AND RACKSPACE ACCEPTS NO RESPONSIBILITY FOR THIRD-PARTY PRODUCTS.READ LESS