Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Resolving: Error on Implementation in Laravel 5.3 #186

Closed
wants to merge 8 commits into from
Closed

Resolving: Error on Implementation in Laravel 5.3 #186

wants to merge 8 commits into from

Conversation

httpoz
Copy link

@httpoz httpoz commented Aug 30, 2016

Compatibility with L5.3. Change is() method to isRole(). Conflicts with Model::is()

@emiliomedina21

#185

@thachp
Copy link

thachp commented Sep 2, 2016

@romanbican Can you merge this pull request? This is an urgent one for me.

@pedritoelcabra
Copy link

Works perfect

@pwilms
Copy link

pwilms commented Sep 6, 2016

yea please merge! :) +1

@nikolaynesov
Copy link

nikolaynesov commented Sep 6, 2016

Hey guys,

To fix it temporary use this:
I. Add VCS Repo to your composer.json
"repositories": [ { "type": "vcs", "url": "https://github.com/emiliomedina21/roles.git" } ]

II. Change version of the package in composer.json

"bican/roles": "dev-master",

Hopefully it may help.

@romanbican can you please make respective changes from https://github.com/emiliomedina21/roles.git or pull that

@nikolaynesov
Copy link

@thachp you can migrate to https://github.com/Zizaco/entrust in case it's very urgent for you. It took me about 30 mins to update my project to Entrust. Entrust and this one are very similar but Entrust seems to work well with Laravel 5.3. Will update you in case any issues will be found for Entrust too.

@httpoz
Copy link
Author

httpoz commented Sep 7, 2016

Also created a similar package to this one resolving a couple of issues between then Laravel 5 and now 5.3.

I however removed permissions in favor of Laravel's authorization. Plus one other minor change. For those that use roles alone it should be a seamless implementation.

http://github.com/httpoz/roles

@Ricky-rick
Copy link

We decided to update and maintain a copy of bican roles and merged this pull request.
You can find it on packagist: https://packagist.org/packages/ultraware/roles

@httpoz httpoz closed this Apr 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants