devaslanphp / project-management

An open source Project management tool based on Laravel and Filament
https://devaslanphp.github.io/project-management
MIT License
682 stars 188 forks source link

Improvement: Role resource updates #109

Open Hussam92 opened 5 months ago

Hussam92 commented 5 months ago

Improvement: Renamed Permission to Role in some places. __('Role name') must be added to translations

mihaisolomon commented 5 months ago

Can you explain a little the purpose for this PR?

Hussam92 commented 5 months ago

The naming might be a little confusing. When you go to a User, you see "Permissions" instead of "Roles".

Also when you edit a Role, you see "Permission name" although you are editing the role name.

One further note. I think it should not be allowed to CRUD Permission models. They should be locked as they are because they are relevant for the system