Comments (5)
@timyourivh hi, can you make a PR to fix it?
from laravel-authz.
Note:
The docs state that php artisan vendor:publish
will "will create a new model config file and a new lauthz config file" but instead will display a list of all publishable assets available and launch a prompt to choose one. I suggest adding the tags in the tutorial resulting in:
php artisan vendor:publish --tag=laravel-lauthz-config --tag=laravel-lauthz-migrations
from laravel-authz.
from laravel-authz.
@timyourivh The fourth parameter of this command is the policy string, separated by commas(,). I followed your steps, but it didn't reproduce in my console. Which terminal do you use, is it a character problem?
from laravel-authz.
@leeqvip That appears to be it!
Interesting, I have a powershell script to add shorthand's but when using the shorthand for php artisan
(which is pa
for me) in combination with policy:add
some how doesn't work:
I was already wondering what could be the issue since I couldn't find any issues or bug in the code responsible :p
from laravel-authz.
Related Issues (20)
- Too few arguments to function Illuminate\\Database\\Eloquent\\Model::fireModelEvent(), 0 passed in /site/zhihuiyuanqu/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php on line 1634 and at least 1 expected HOT 4
- Argument 1 passed to Casbin\Rbac\DefaultRoleManager\RoleManager::hasLink() must be of the type string, int given, called in /var/www/html/amitdeveloper28/vendor/casbin/casbin/src/Util/BuiltinOperations.php on line 440 HOT 7
- I hope it can be used under the lumen project at the same time? HOT 10
- Not Support Laravel8.82.0 HOT 3
- Validation issues in Restful routing style HOT 5
- Lauthz\Facades\Enforcer has no type hints HOT 3
- Get all v2 based on v0,v1,v3 values HOT 3
- enforce restapi uri is not effect HOT 2
- New feature proposal HOT 3
- Is this library still being maintained? HOT 4
- ¿Multiple policy definition? HOT 6
- [Question] Please tell me how to expand the list of functions HOT 4
- how to use rbac with domains model? HOT 4
- Does this package support RBAC_with_domains_model ? HOT 2
- add a super role into rbac with domains HOT 1
- root for rbac with all pattern model can not pass the verify. But the casbin editor does. HOT 12
- Error Connection on lumen.laravel 8.x HOT 4
- How to modify the creation time and update time field names HOT 1
- understanding roles HOT 9
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 laravel-authz.