Search

Search Keyword group

Total: 50 results found.

Page 3 of 3
... https://docs.processmaker.com/docs/permission-descriptions-for-users-and-groups [7] https://stackoverflow.com/questions/65213504/how-to-use-correctly-super-admins-role-in-laravel-spatie [8] https:// ...
... Middleware for Route Protection** - Spatie provides middleware to protect routes based on permissions: ```php Route::middleware(['permission:edit articles'])->group(function () { // Protected ...
... Translations are stored in a table (usually `language_lines`) where each entry contains a group (like "validation"), a key (like "required"), and a JSON object holding translations for multiple locales ...
... with a group, key, and an array of locale-text pairs. - You can create translations programmatically by creating `LanguageLine` model instances. - Laravel’s `__()` helper function is used to fetch ...
... is a detailed overview of how Spatie implements RBAC in Laravel: ## Core Concepts - Roles: Named groups that can have multiple permissions. - Permissions: Specific abilities or actions that can ...
... Roles vs Permissions Conceptually - Roles are groups of permissions assigned to users to simplify management. - Permissions represent specific actions users can perform. - Always think of roles as collections ...
... to restrict access based on roles or permissions. Register middleware aliases if needed (usually done automatically): ```php // In routes/web.php Route::group(['middleware' => ['role:admin']], function ...
... Selection - CSP headers are added by registering the `Spatie\Csp\AddCspHeaders` middleware globally or on specific routes/groups. This middleware reads the config and applies the CSP headers accordingly. - ...
...  ->where('is_published', true) ->groupBy('user_id'); $users = DB::table('users') ->joinSub($latestPosts, 'latest_posts', function (JoinClause $join) { $join->on('users.id', '=', ...
... can use SQL with `GROUP BY` and `HAVING` clauses to find posts that have all the desired tags, for example: ```sql SELECT post_id FROM post_tags WHERE tag_id IN (1, 2, 3) GROUP BY post_id HAVING ...
<< Start < Prev 1 2 3 Next > End >>