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?
261 views Asked by samjhana joshi At
1
There are 1 answers
Related Questions in FUELPHP
- Query Optimization, changing the queries in the loop into a single processing query
- i tcreated an orl module in fuelphp and itt keeps throwing me Fatal Error! ErrorException [ Fatal Error ]: when i try using it
- PHPStan configuration for FuelPHP
- Migrating old FuelPHP Amazon SES package to Signature Version 4
- Uncaught exception 'Fuel\Core\PhpErrorException' ....system's timezone settings
- FuelPHP \URI::current() does not get file extension
- Call to a member function format() on boolean using PHP and FuelPHP MVC Framework
- Send an email after 5 minutes by comparing 2 datetimes using PHP and FuelPHP framework
- How to output log to StackDriver logging in fuelPHP
- Change password from database of a live site
- Add attributes on li tags for FuelPHP ul method
- Fuel\Core\PhpErrorException [ Warning ]: array_key_exists(): The first argument should be either a string or an integer
- Autopopulating a dropdown menu by inputing numbes into a field using php
- FUELPHP Database Exceprtion :- General error: 20018 Conversion failed when converting date and/or time from character string
- FuelPHP Call to undefined method PHPUnit_Util_Configuration::getTestdoxGroupConfiguration()
Related Questions in FUELPHP-ORM
- order by and group by in ORM (fuelphp)
- Find a record where id is not the primary key in fuelphp
- FuelPHP orm multiple AND,OR query
- Fuelphp How to automatically populate a foreign key based on Primary key
- FuelPHP ORM do not return any data
- How to set dynamic condition for fuelphp ORM relation
- FuelPHP model's / fieldset / form
- How to add soft-delete to oil scaffold command?
- Adding two of the same observer in Fuelphp (ORM)
- Compound key relationship with fuelphp orm
- Upload Multiple Files with FuelPHP and save files information in separate database table
- Case insensitive `like` with FuelPHP's orm and mysql
- how to give backend login acces to groups/roles other than administrator in fuelphp?
- Fuelphp: convert standard ORM model to model_temporal
- FUELPHP ORM: Database view 'viewname' is defined without columns
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?
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)
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)