* Remove open in new tab since both are on filament now.
Removing the open in new tab since both are on filament now. And the tenant: null was function default so not needed aswell
* Rework permission tab loading
Reworked permission tab loading to make it easier to expand on it in the future. This is way more friendly if extensions are planned in the future.
* Rework permission tab loading
Reworked permission tab loading to make it easier to expand on it in the future. This is way more friendly if extensions are planned in the future.
* Rework permission tab loading
Reworked permission tab loading to make it easier to expand on it in the future. This is way more friendly if extensions are planned in the future.
* Update UserResource.php
Used wrong name. It's not the name, the label has to be checked there.
* Fix: wrong name used
Used wrong name. It's not the name, the label has to be checked there.
* Update permission loading
Moved permission list to app/Models/Permission.php and made UserResource.php and ListUsers.php use it.
* Fix Pint and PHPStan error
Added comments
* Update array key
Updated array key using the lowercase name. Suggested by https://github.com/Boy132
* Correct array key
Updated array key using the lowercase. Suggested by https://github.com/Boy132
* Revert/correct array key
Updated array key using the lowercase and the correct label.
* Add 'user' key
In the old $permission array was user an entry witch is missing in permissionTabs()
* Style and return
Added @return and removed empty lines
* pin
fix pint
* fix pint
remove @return
* fix pint
add () since pint is still not happy
* remove mb_strtolower
mb_strtolower is not necessary
* remove schema for control
remove ->schema for control tab.
* Remove import
Remove unused import
* correct translation key
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* make columns optional,
checkboxList => columns is now optional and default to 2
* move user and control registration
removed control registration since it was duplicate and move user registration to permissionTabs
* update @return on permissionTabs()
* Fix array key warning
* simplify permissions data
* revert this
* fix edit modal
* update icons
---------
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
Co-authored-by: Boy132 <mail@boy132.de>
* use user for subject
* add permissions to properties
* always add websocket.connect permission (because it's default)
* small cleanup
* also update editing
* Add address field to display `host:port` to enduser on `ListDatabases` & `EditServer`
* Add `CopyAction` to `EditServer`
* Update databaseHost `display_name_help`
* Not found property rule
* Make these “better”
* Day 1
* Day 2
* Day 3
* Dat 4
* Remove disabled check
* Day 4 continued
* Run pint
* Final changes hopefully
* Pint fixes
* Fix again
* Reset these
* Update app/Filament/Admin/Pages/Health.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Update app/Traits/CheckMigrationsTrait.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
---------
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Fix copy paste AllocationsRelationManager
* We shouldn't let the user know if the user is correct but the password isn't
* Add missing `trans()` `EditServer`
* Add missing `trans()` User `ServersRelationManager`
* Replace every `__()` with `trans()` helper
* Fix `exceptions` `User` Model
* Replace `Translator->get()` with `trans()` helper
* Revert "We shouldn't let the user know if the user is correct but the password isn't"
This reverts commit e156ee4b38e9e969662a532648c78fdc1e9b0166.
that's stock laravel, therefore it needs to stay