laravel-permission-mongodb
laravel-permission-mongodb copied to clipboard
Associate users with roles and permissions using Laravel and MongoDB
**Describe the bug** I was trying to use ```$user->getAllPermissions()``` and I got an exception illegal offset type **To Reproduce** Steps to reproduce the behavior: 1. inside roles collection admin_ids array...
When installing on our CI process we have an error > Failed to execute git checkout '321e84cf472c57d552503f40df4eb536fb6e1e31' -- && git reset --hard '321e84cf472c57d552503f40df4eb536fb6e1e31' -- how can we fix this ?
## Detailed description Add Hierarchal permissions support like - posts.read - posts.write - posts.* // has permission to posts.read and posts.write ## Your environment * PHP 7.0 +: * Ubuntu...
## Detailed description Hi, I want to make changes to this package or if its possible to do so without changes. Is it possible to have embedded models because we...
To integrate with spatie/multi-tenancy you need to reset the permission cache when the current tenant is changed. It would have been easier to add a suffix to the $cacheKey variable,...
I have a problem with installing this package. Any ideas? `> Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi TypeError Jenssegers\Mongodb\Query\Builder::__construct(): Argument #1 ($connection) must be of type Jenssegers\Mongodb\Connection, Illuminate\Database\MySqlConnection given, called...
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 11.x. **Before merging**, you need to: - Checkout the `l11-compatibility`...
I submitted a merge request but it has not been approved yet. The official MongoDB package has changed and the changes must be applied. Thank you for confirming. https://github.com/mostafamaklad/laravel-permission-mongodb/pull/147
**Is your feature request related to a problem? Please describe.** To fully support current and future Laravel releases `mongodb/laravel-mongodb` should be implemented. https://github.com/mongodb/laravel-mongodb _This package was renamed to mongodb/laravel-mongodb because...