<commit_before><?php

/*
|--------------------------------------------------------------------------
| All Permissions
|--------------------------------------------------------------------------
|
| Here will be listed all the permissions that app will use.
| This permissions will be attached to admin when command will run
| A name always must be separated by dashes
| In project exists command sync:permissions that will sync all permissions to db
|
*/

$permissions = [];

$permissions['role']['create'] = 1;
$permissions['role']['get'] = 2;
$permissions['role']['find'] = 3;
$permissions['role']['delete'] = 4;
$permissions['role']['attach-permission'] = 5;

$permissions['user']['create'] = 6;
$permissions['user']['update'] = 7;
$permissions['user']['get'] = 8;
$permissions['user']['find'] = 9;
$permissions['user']['delete'] = 10;

return $permissions;
<commit_msg>improved permissions naming, added 3 more permissions: attach role to user, attach permission to user and attach permission to role<commit_after><?php

/*
|--------------------------------------------------------------------------
| All Permissions
|--------------------------------------------------------------------------
|
| Here will be listed all the permissions that app will use.
| This permissions will be attached to admin when command will run
| A name always must be separated by dashes
| In project exists command sync:permissions that will sync all permissions to db
|
*/

$permissions = [];

$permissions['role']['create'] = 1;
$permissions['role']['get'] = 2;
$permissions['role']['find'] = 3;
$permissions['role']['delete'] = 4;
$permissions['role']['attach-permission-to'] = 5;

$permissions['user']['create'] = 6;
$permissions['user']['update'] = 7;
$permissions['user']['get'] = 8;
$permissions['user']['find'] = 9;
$permissions['user']['delete'] = 10;
$permissions['user']['attach-permisssion-to'] = 11;
$permissions['user']['attach-role-to'] = 12;

return $permissions;

{'fraction_non_alphanumeric': 0.306205493387589, 'fraction_numerical': 0.013733468972533061, 'mean_word_length': 2.732447817836812, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2241657', 'n_tokens_mistral': 536, 'n_tokens_neox': 504, 'n_words': 159}