I am using Ormauth as auth package and used it for login at backend. Now I want to give login access for group 'moderator' along with 'superadmmin' and 'administrator'. How I am to proceed ? I tried changing options in default fuelphp tables for 'user_roles', 'user_role_permissions' and so on but to no avail. I am new to this ? Any help/suggestions are welcome. Thanks in advance.
how to give backend login acces to groups/roles other than administrator in fuelphp?
260 Views Asked by samjhana joshi At
1
There are 1 best solutions below
Related Questions in FUELPHP
- Fuelphp: populate data in database to dropdown
- Fuelphp image resize disable upscaling
- how to manage multiple form templates in fuelphp
- how to give backend login acces to groups/roles other than administrator in fuelphp?
- FuelPHP installation with composer update requesting a Github OAuth token
- How to update/regenerate CRUD code using OIL package in FuelPHP
- How to authenticate user with Fuelphp REST?
- FuelPHP Migrations for different tables
- How to use conditional view in fuelphp?
- use "()" in Fuelphp query builder
- ORM: Change parent's "updated_at" timestamps when model gets updated in FuelPHP
- Use fuelphp modules without mvc
- how to get browse button in image upload form for ckeditor in fuelphp
- File is missing after a "successful" file upload (using the fuelphp framework)
- Extending Validation Class fuelphp?
Related Questions in FUELPHP-ORM
- how to give backend login acces to groups/roles other than administrator in fuelphp?
- ORM: Change parent's "updated_at" timestamps when model gets updated in FuelPHP
- FuelPHP ORM one to one relation is not saving?
- FuelPHP ORM Primary Key on model cannot be changed
- FuelPHP ORM find('all') get only one row
- Ordering on a many-to-many relationship with FuelPHP
- FuelPHP ORM do not return any data
- Compound key relationship with fuelphp orm
- Adding two of the same observer in Fuelphp (ORM)
- How to add soft-delete to oil scaffold command?
- Getting Ormauth to work in FuelPHP
- FuelPHP - How do I access a custom sql statement using ORM?
- Warning: spl_object_hash() expects parameter 1 to be object
- FuelPHP: Pick a limited amount of objects from an array of objects (based on properties)
- FuelPHP Orm: set() for model with many_to_many relation and table_through
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
i do this: create a base class for admin area, in function "before" of that base class use \Auth::has_access('area.permission') for check that current user has access to current controller or not,
create some permissions (in table users_permission) for your admin area, you can use any names for area and permissions here but i suggest use your application or module name as "area" and controller name as "permission",
if you wish to use "groups" so use "users_grouppermission" or if you wish to use "roles" then use "users_rolepermission" for inserting some recordes for allowing access to groups/roles,
at least assign users to that groups or roles (using user_roles and user_groups tables)