Boy132 fc643f57f9
Admin Roles (#502)
* add spatie/permissions

* add policies

* add role resource

* add root admin role handling

* replace some "root_admin" with function

* add model specific permissions

* make permission selection nicer

* fix user creation

* fix tests

* add back subuser checks in server policy

* add custom model for role

* assign new users to role if root_admin is set

* add api for roles

* fix phpstan

* add permissions for settings page

* remove "restore" and "forceDelete" permissions

* add user count to list

* prevent deletion if role has users

* update user list

* fix server policy

* remove old `root_admin` column

* small refactor

* fix tests

* forgot can checks here

* forgot use

* disable editing own roles & disable assigning root admin

* don't allow to rename root admin role

* remove php bombing exception handler

* fix role assignment when creating a user

* fix disableOptionWhen

* fix missing `root_admin` attribute on react frontend

* add permission check for bulk delete

* rename viewAny to viewList

* improve canAccessPanel check

* fix admin not displaying for non-root admins

* make sure non root admins can't edit root admins

* fix import

* fix settings page permission check

* fix server permissions for non-subusers

* fix settings page permission check v2

* small cleanup

* cleanup config file

* move consts from resouce into enum & model

* Update database/migrations/2024_08_01_114538_remove_root_admin_column.php

Co-authored-by: Lance Pioch <lancepioch@gmail.com>

* fix config

* fix phpstan

* fix phpstan 2.0

---------

Co-authored-by: Lance Pioch <lancepioch@gmail.com>
2024-09-21 12:27:41 +02:00
2024-09-21 12:27:41 +02:00
2024-09-21 12:27:41 +02:00
2024-09-21 12:27:41 +02:00
2024-09-21 12:27:41 +02:00
2024-09-21 12:27:41 +02:00
2024-09-21 12:27:41 +02:00
2024-06-01 12:36:11 -04:00
2024-09-21 12:27:41 +02:00
2022-10-24 09:48:30 -06:00
2024-08-03 21:13:17 +02:00
2022-10-14 10:59:20 -06:00
2024-05-11 14:10:06 -04:00
2024-06-02 10:51:48 -04:00
2022-12-04 16:32:15 -07:00
2024-03-19 16:49:42 -04:00
2024-06-11 14:58:42 -04:00
2024-09-21 12:27:41 +02:00
2024-09-21 12:27:41 +02:00
2024-07-05 01:15:45 +02:00
2024-04-14 13:54:15 -04:00
2024-05-11 00:55:35 -04:00
2024-04-21 21:25:13 -04:00
2024-08-16 16:50:09 -04:00
2024-03-17 13:52:02 -04:00
2024-05-25 20:51:52 -04:00
2024-03-12 22:47:32 -04:00
2024-07-24 20:10:45 -04:00
2024-04-21 21:32:42 -04:00
2024-03-12 22:39:16 -04:00
2024-08-16 16:50:09 -04:00

logo

Pelican Panel

Total Downloads Latest Release

Pelican Panel is an open-source, web-based application designed for easy management of game servers. It offers a user-friendly interface for deploying, configuring, and managing servers, with features like real-time resource monitoring, Docker container isolation, and extensive customization options. Ideal for both individual gamers and hosting companies, it simplifies server administration without requiring deep technical knowledge.

Fly High, Game On: Pelican's pledge for unrivaled game servers.

Supported Games and Servers

Pelican supports a wide variety of games by utilizing Docker containers to isolate each instance. This gives you the power to run game servers without bloating machines with a host of additional dependencies.

Some of our popular eggs include:

Category Eggs
Minecraft Paper Sponge Bungeecord Waterfall
SteamCMD 7 Days to Die ARK: Survival Arma 3 Counter Strike
DayZ Enshrouded Left 4 Dead Palworld
Project Zomboid Satisfactory Sons of the Forest Starbound
Standalone Games Among Us Factorio FTL GTA
Kerbal Space Mindustry Rimworld Terraria
Discord Bots Redbot JMusicBot JMusicBot Dynamica
Voice Servers Mumble Teamspeak Lavalink
Software Elasticsearch Gitea Grafana RabbitMQ
Programming Node.js Python Java C#
Databases Redis MariaDB PostgreSQL MongoDB
Storage S3 SFTP Share
Monitoring Prometheus Loki

Repository Activity

Stats

Copyright Pelican® 2024

Languages
PHP 97.6%
Blade 2.1%
Dockerfile 0.2%