Comments (6)
Yup after updating to 1.0.3 it work like a charm!
thanks for the quick fix!
from rbac.
@touqeer-gt I will fix it in 5 minutes :) I think you are using MySQL and they have limit in 64 chars or someting like this.
from rbac.
@touqeer-gt you can try to update package
from rbac.
yup i'm using MySQL after updating it's still not working version is 1.0.2
, btw i just change this line to get rid of the error:
$table->primary(['permission_id', 'permission_group_id']);
to
$table->primary(['permission_id']);
in /database/migrations/2016_09_28_105744_create_permission_permission_group_table.php
from rbac.
JUST an FYI ,
I also deleted all the migrations in app/database/migration
and re run the command: php artisan vendor:publish --provider="YaroslavMolchan\Rbac\RbacServiceProvider" --tag=migrations
and then php artisan migrate
from rbac.
@touqeer-gt yeah, sorry for late answer, now i update to version 1.0.3, I miss primary key name and it was error, now I change it, let`s try
from rbac.
Related Issues (8)
- cannot find yaroslavmolchan/rbac ^2.0
- @ifUserCan('product.create') - It doesn't work HOT 1
- check permission
- Proposal redirect HOT 1
- Method Illuminate\Database\Query\Builder::permissions Array does not exist. HOT 4
- How to add child roles for a role? HOT 2
- Is there any way to access the permission groups while specifying the routers instead of roles and permissions ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbac.