Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Clubphp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Clubphp
Commits
77d245c2
Commit
77d245c2
authored
May 23, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
permission matrix fix
parent
7aa00a7a
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
165 additions
and
19 deletions
+165
-19
bootstrap.php
app/Modules/Academies/bootstrap.php
+8
-1
bootstrap.php
app/Modules/AcademyContracts/bootstrap.php
+8
-1
bootstrap.php
app/Modules/Achievements/bootstrap.php
+7
-1
bootstrap.php
app/Modules/ActivitySubscriptions/bootstrap.php
+10
-1
bootstrap.php
app/Modules/Coaches/bootstrap.php
+10
-1
bootstrap.php
app/Modules/Disciplines/bootstrap.php
+9
-1
bootstrap.php
app/Modules/FacilityDashboards/bootstrap.php
+6
-1
bootstrap.php
app/Modules/FacilityGrids/bootstrap.php
+7
-1
bootstrap.php
app/Modules/Installments/bootstrap.php
+2
-0
bootstrap.php
app/Modules/MatchCenter/bootstrap.php
+8
-1
bootstrap.php
app/Modules/News/bootstrap.php
+7
-1
bootstrap.php
app/Modules/Payments/bootstrap.php
+3
-0
bootstrap.php
app/Modules/PlayerAffairs/bootstrap.php
+14
-1
bootstrap.php
app/Modules/PlaygroundAdmin/bootstrap.php
+10
-1
bootstrap.php
app/Modules/PoolManagement/bootstrap.php
+8
-1
bootstrap.php
app/Modules/Rentals/bootstrap.php
+10
-1
bootstrap.php
app/Modules/Sessions/bootstrap.php
+9
-1
bootstrap.php
app/Modules/Sports/bootstrap.php
+8
-1
bootstrap.php
app/Modules/SportsDashboard/bootstrap.php
+7
-1
bootstrap.php
app/Modules/Training/bootstrap.php
+7
-1
bootstrap.php
app/Modules/TrainingGroups/bootstrap.php
+7
-1
No files found.
app/Modules/Academies/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'academies'
,
[
'academy.view'
=>
[
'ar'
=>
'عرض الأكاديميات'
,
'en'
=>
'View Academies'
],
'academy.manage'
=>
[
'ar'
=>
'إدارة الأكاديميات'
,
'en'
=>
'Manage Academies'
],
'academy.enroll'
=>
[
'ar'
=>
'تسجيل في الأكاديمية'
,
'en'
=>
'Enroll in Academy'
],
]);
app/Modules/AcademyContracts/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'academy_contracts'
,
[
'academy_contract.view'
=>
[
'ar'
=>
'عرض عقود الأكاديميات'
,
'en'
=>
'View Academy Contracts'
],
'academy_contract.manage'
=>
[
'ar'
=>
'إدارة عقود الأكاديميات'
,
'en'
=>
'Manage Academy Contracts'
],
'academy_contract.settlement'
=>
[
'ar'
=>
'تسوية عقود الأكاديميات'
,
'en'
=>
'Settle Academy Contracts'
],
]);
app/Modules/Achievements/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'achievements'
,
[
'achievement.view'
=>
[
'ar'
=>
'عرض الإنجازات'
,
'en'
=>
'View Achievements'
],
'achievement.manage'
=>
[
'ar'
=>
'إدارة الإنجازات'
,
'en'
=>
'Manage Achievements'
],
]);
app/Modules/ActivitySubscriptions/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'activity_subscriptions'
,
[
'activity_sub.view'
=>
[
'ar'
=>
'عرض اشتراكات الأنشطة'
,
'en'
=>
'View Activity Subscriptions'
],
'activity_sub.manage_pricing'
=>
[
'ar'
=>
'إدارة تسعير الأنشطة'
,
'en'
=>
'Manage Activity Pricing'
],
'activity_sub.generate'
=>
[
'ar'
=>
'توليد اشتراكات الأنشطة'
,
'en'
=>
'Generate Activity Subscriptions'
],
'activity_sub.collect'
=>
[
'ar'
=>
'تحصيل اشتراكات الأنشطة'
,
'en'
=>
'Collect Activity Subscriptions'
],
'activity_sub.exempt'
=>
[
'ar'
=>
'إعفاء من اشتراك النشاط'
,
'en'
=>
'Exempt from Activity Subscription'
],
]);
app/Modules/Coaches/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'coaches'
,
[
'coach.view'
=>
[
'ar'
=>
'عرض المدربين'
,
'en'
=>
'View Coaches'
],
'coach.manage'
=>
[
'ar'
=>
'إدارة المدربين'
,
'en'
=>
'Manage Coaches'
],
'coach.rate'
=>
[
'ar'
=>
'تقييم المدربين'
,
'en'
=>
'Rate Coaches'
],
'coach.manage_ratings'
=>
[
'ar'
=>
'إدارة تقييمات المدربين'
,
'en'
=>
'Manage Coach Ratings'
],
'coach.view_performance'
=>
[
'ar'
=>
'عرض أداء المدربين'
,
'en'
=>
'View Coach Performance'
],
]);
app/Modules/Disciplines/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'disciplines'
,
[
'discipline.view'
=>
[
'ar'
=>
'عرض الألعاب'
,
'en'
=>
'View Disciplines'
],
'discipline.manage'
=>
[
'ar'
=>
'إدارة الألعاب'
,
'en'
=>
'Manage Disciplines'
],
'waitlist.view'
=>
[
'ar'
=>
'عرض قائمة الانتظار'
,
'en'
=>
'View Waitlist'
],
'waitlist.manage'
=>
[
'ar'
=>
'إدارة قائمة الانتظار'
,
'en'
=>
'Manage Waitlist'
],
]);
app/Modules/FacilityDashboards/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'facility_dashboards'
,
[
'facility.dashboard'
=>
[
'ar'
=>
'لوحة تحكم المرافق'
,
'en'
=>
'Facility Dashboard'
],
]);
app/Modules/FacilityGrids/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'facility_grids'
,
[
'facility_grid.view'
=>
[
'ar'
=>
'عرض شبكة المرافق'
,
'en'
=>
'View Facility Grid'
],
'facility_grid.manage'
=>
[
'ar'
=>
'إدارة شبكة المرافق'
,
'en'
=>
'Manage Facility Grid'
],
]);
app/Modules/Installments/bootstrap.php
View file @
77d245c2
...
...
@@ -7,7 +7,9 @@ use App\Core\Registries\PermissionRegistry;
PermissionRegistry
::
register
(
'installments'
,
[
'installment.view'
=>
[
'ar'
=>
'عرض الأقساط'
,
'en'
=>
'View Installments'
],
'installment.create'
=>
[
'ar'
=>
'إنشاء قسط'
,
'en'
=>
'Create Installment'
],
'installment.create_plan'
=>
[
'ar'
=>
'إنشاء خطة تقسيط'
,
'en'
=>
'Create Installment Plan'
],
'installment.pay'
=>
[
'ar'
=>
'سداد قسط'
,
'en'
=>
'Pay Installment'
],
'installment.record_payment'
=>
[
'ar'
=>
'تسجيل دفعة قسط'
,
'en'
=>
'Record Installment Payment'
],
'installment.modify_plan'
=>
[
'ar'
=>
'تعديل خطة التقسيط'
,
'en'
=>
'Modify Installment Plan'
],
]);
\ No newline at end of file
app/Modules/MatchCenter/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'match_center'
,
[
'match_center.view'
=>
[
'ar'
=>
'عرض مركز المباريات'
,
'en'
=>
'View Match Center'
],
'match_center.manage'
=>
[
'ar'
=>
'إدارة مركز المباريات'
,
'en'
=>
'Manage Match Center'
],
'match_center.live_entry'
=>
[
'ar'
=>
'إدخال بيانات مباشر'
,
'en'
=>
'Live Match Entry'
],
]);
app/Modules/News/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'news'
,
[
'news.view'
=>
[
'ar'
=>
'عرض الأخبار'
,
'en'
=>
'View News'
],
'news.manage'
=>
[
'ar'
=>
'إدارة الأخبار'
,
'en'
=>
'Manage News'
],
]);
app/Modules/Payments/bootstrap.php
View file @
77d245c2
...
...
@@ -29,6 +29,9 @@ PermissionRegistry::register('payments', [
'payment.process_check'
=>
[
'ar'
=>
'معالجة دفع بشيك'
,
'en'
=>
'Process Check Payment'
],
'payment.process_visa'
=>
[
'ar'
=>
'معالجة دفع فيزا'
,
'en'
=>
'Process Visa Payment'
],
'payment.view'
=>
[
'ar'
=>
'عرض المدفوعات'
,
'en'
=>
'View Payments'
],
'payment.create'
=>
[
'ar'
=>
'إنشاء مدفوعات'
,
'en'
=>
'Create Payment'
],
'payment.void'
=>
[
'ar'
=>
'إلغاء مدفوعات'
,
'en'
=>
'Void Payment'
],
'payment.collect'
=>
[
'ar'
=>
'تحصيل مدفوعات'
,
'en'
=>
'Collect Payment'
],
'payment.void_receipt'
=>
[
'ar'
=>
'إلغاء إيصال'
,
'en'
=>
'Void Receipt'
],
'payment.refund'
=>
[
'ar'
=>
'استرداد'
,
'en'
=>
'Refund Payment'
],
]);
...
...
app/Modules/PlayerAffairs/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'player_affairs'
,
[
'player.view'
=>
[
'ar'
=>
'عرض اللاعبين'
,
'en'
=>
'View Players'
],
'player.register'
=>
[
'ar'
=>
'تسجيل لاعب'
,
'en'
=>
'Register Player'
],
'player.edit'
=>
[
'ar'
=>
'تعديل بيانات لاعب'
,
'en'
=>
'Edit Player'
],
'player.manage_card'
=>
[
'ar'
=>
'إدارة كروت اللاعبين'
,
'en'
=>
'Manage Player Cards'
],
'player.manage_medical'
=>
[
'ar'
=>
'إدارة الشهادات الطبية'
,
'en'
=>
'Manage Medical Records'
],
'player.approve_medical'
=>
[
'ar'
=>
'اعتماد الشهادات الطبية'
,
'en'
=>
'Approve Medical Records'
],
'player.evaluate'
=>
[
'ar'
=>
'تقييم لاعب'
,
'en'
=>
'Evaluate Player'
],
'player.manage_injuries'
=>
[
'ar'
=>
'إدارة الإصابات'
,
'en'
=>
'Manage Injuries'
],
'player.manage_fitness'
=>
[
'ar'
=>
'إدارة اللياقة البدنية'
,
'en'
=>
'Manage Fitness Tests'
],
]);
app/Modules/PlaygroundAdmin/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'playground_admin'
,
[
'playground.view'
=>
[
'ar'
=>
'عرض الملاعب'
,
'en'
=>
'View Playgrounds'
],
'playground.manage'
=>
[
'ar'
=>
'إدارة الملاعب'
,
'en'
=>
'Manage Playgrounds'
],
'playground.schedule'
=>
[
'ar'
=>
'جدولة الملاعب'
,
'en'
=>
'Schedule Playgrounds'
],
'playground.attendance'
=>
[
'ar'
=>
'حضور الملاعب'
,
'en'
=>
'Playground Attendance'
],
'playground.dashboard'
=>
[
'ar'
=>
'لوحة تحكم الملاعب'
,
'en'
=>
'Playground Dashboard'
],
]);
app/Modules/PoolManagement/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'pool_management'
,
[
'pool.view'
=>
[
'ar'
=>
'عرض حمام السباحة'
,
'en'
=>
'View Pool'
],
'pool.manage'
=>
[
'ar'
=>
'إدارة حمام السباحة'
,
'en'
=>
'Manage Pool'
],
'pool.book'
=>
[
'ar'
=>
'حجز حمام السباحة'
,
'en'
=>
'Book Pool'
],
]);
app/Modules/Rentals/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'rentals'
,
[
'rental.view'
=>
[
'ar'
=>
'عرض الإيجارات'
,
'en'
=>
'View Rentals'
],
'rental.manage_entity'
=>
[
'ar'
=>
'إدارة كيانات الإيجار'
,
'en'
=>
'Manage Rental Entities'
],
'rental.manage_contract'
=>
[
'ar'
=>
'إدارة عقود الإيجار'
,
'en'
=>
'Manage Rental Contracts'
],
'rental.approve'
=>
[
'ar'
=>
'اعتماد الإيجارات'
,
'en'
=>
'Approve Rentals'
],
'rental.manage_deposit'
=>
[
'ar'
=>
'إدارة تأمينات الإيجار'
,
'en'
=>
'Manage Rental Deposits'
],
]);
app/Modules/Sessions/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'sessions'
,
[
'session.view'
=>
[
'ar'
=>
'عرض الحصص'
,
'en'
=>
'View Sessions'
],
'session.attendance'
=>
[
'ar'
=>
'حضور الحصص'
,
'en'
=>
'Session Attendance'
],
'session.manage'
=>
[
'ar'
=>
'إدارة الحصص'
,
'en'
=>
'Manage Sessions'
],
'session.view_feedback'
=>
[
'ar'
=>
'عرض تقييم الحصص'
,
'en'
=>
'View Session Feedback'
],
]);
app/Modules/Sports/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'sports'
,
[
'sports.view'
=>
[
'ar'
=>
'عرض الرياضات'
,
'en'
=>
'View Sports'
],
'sports.add'
=>
[
'ar'
=>
'إضافة رياضة'
,
'en'
=>
'Add Sport'
],
'sports.convert'
=>
[
'ar'
=>
'تحويل رياضة'
,
'en'
=>
'Convert Sport'
],
]);
app/Modules/SportsDashboard/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'sports_dashboard'
,
[
'sports_dashboard.view'
=>
[
'ar'
=>
'عرض لوحة الأنشطة الرياضية'
,
'en'
=>
'View Sports Dashboard'
],
'sports_dashboard.export'
=>
[
'ar'
=>
'تصدير بيانات الرياضات'
,
'en'
=>
'Export Sports Data'
],
]);
app/Modules/Training/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'training'
,
[
'training.submit_feedback'
=>
[
'ar'
=>
'تقديم تقييم التدريب'
,
'en'
=>
'Submit Training Feedback'
],
'training.view_feedback'
=>
[
'ar'
=>
'عرض تقييمات التدريب'
,
'en'
=>
'View Training Feedback'
],
]);
app/Modules/TrainingGroups/bootstrap.php
View file @
77d245c2
<?php
declare
(
strict_types
=
1
);
// Module disabled — replaced by SportsActivity module
use
App\Core\Registries\PermissionRegistry
;
PermissionRegistry
::
register
(
'training_groups'
,
[
'training_group.view'
=>
[
'ar'
=>
'عرض مجموعات التدريب'
,
'en'
=>
'View Training Groups'
],
'training_group.manage'
=>
[
'ar'
=>
'إدارة مجموعات التدريب'
,
'en'
=>
'Manage Training Groups'
],
]);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment