Lightweight account management tool, ring session fixes, UI bug fixes#781
Draft
Lightweight account management tool, ring session fixes, UI bug fixes#781
Conversation
Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove AMS and add lightweight account management tool
Add lightweight account management tool and CLI setup
Feb 14, 2026
…ssions card Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Add lightweight account management tool and CLI setup
Add lightweight account management tool, CLI setup, and shared config generation
Feb 14, 2026
…ticipants, browse open sessions Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Add lightweight account management tool, CLI setup, and shared config generation
Add lightweight account management tool with Ring session support
Feb 14, 2026
Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Add lightweight account management tool with Ring session support
Add lightweight account management web tool
Feb 14, 2026
The hide action handler (CAHUIHide) expects just a container name as its params, but the help.xml procedures were passing target='ui:interface:X' syntax which the handler doesn't parse. This caused getElementFromId to look up bogus IDs like "target='ui:interface:universe_chanel_warning'" and fail. Fixed three procedures: universe_chanel_warning_close, death_warning_close, and night_warning_close. Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Add lightweight account management web tool
Fix hide handler params in help.xml and add lightweight account management tool
Feb 14, 2026
Replace split() with explode() in all ring PHP scripts. The split() function was removed in PHP 7.0, causing the session browser backend to be completely broken on modern PHP installations. Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Fix hide handler params in help.xml and add lightweight account management tool
Add lightweight account management tool and fix ring session browser
Feb 14, 2026
Session close, invite, and remove operations now strictly require the Ring Session Manager to be available. When it's unreachable, users see a clear error message instead of silently falling back to direct SQL operations that bypass RSM's orchestration and permission checks. Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Add lightweight account management tool + fix ring session browser
Lightweight account management tool, ring session browser fixes, UI XML fix
Feb 14, 2026
Copilot
AI
changed the title
Lightweight account management tool, ring session browser fixes, UI XML fix
Lightweight account management tool, ring session browser fixes
Feb 14, 2026
- Add hasPriv(), isAdmin(), parsePrivileges(), privilegeLabel() helpers matching the server-side colon-delimited privilege format (:DEV:GM:) - Store user privilege in session on login - Gate admin page behind :DEV:, :SGM:, or :GM: privilege check - Admin page: search/list users, edit privileges, manage domain/shard permissions (add/remove) - Home page: show parsed privilege badges with tooltips instead of raw privilege string Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
…LIKE wildcards Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Lightweight account management tool, ring session browser fixes
Add lightweight account management tool and fix ring session browser
Feb 14, 2026
…defaults - Privilege rank system: DEV > SGM > EM > GM > EG > VG > SG > G > OBSERVER > PR - Admin page: GM can't edit DEV/SGM, SGM can't edit DEV, can't assign privileges at or above own rank - Dev settings page (DEV-only): configure admin privileges, settings privilege, default new account privileges, default domain access - nel_00006.sql migration: nel_setting key/value table with defaults - Registration uses configurable default privileges and domain access - Settings stored in nel_setting table, queried via getSetting()/setSetting() Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
…fety Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Add lightweight account management tool and fix ring session browser
Lightweight account management tool, ring session fixes, privilege system
Feb 14, 2026
Admins can click "View as User" on the admin page to see the account tool as that user sees it - their home page, characters, sessions, and settings. This gives full practical management over all sessions without needing separate admin-mode session management. - Impersonation gated behind privilege hierarchy (can't impersonate equal or higher rank users) - Yellow banner shown at top of every page during impersonation - Admin/Dev pages blocked while impersonating - "Exit View" returns to admin page with original identity restored - Admin session preserved in impersonate_admin_* session variables Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Lightweight account management tool, ring session fixes, privilege system
Add lightweight account management tool and fix ring session browser
Feb 14, 2026
Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Add lightweight account management tool and fix ring session browser
Lightweight account management tool + ring session browser fixes
Feb 14, 2026
When $AMS_REDIRECT_TO_ACCOUNT is set to true in config_user.php, any access to the legacy AMS index.php will redirect to ../account/. The flag defaults to false to preserve backward compatibility. Co-authored-by: kaetemi <1581053+kaetemi@users.noreply.github.com>
Copilot
AI
changed the title
Lightweight account management tool + ring session browser fixes
Lightweight account management tool, ring session fixes, UI bug fixes
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The existing AMS (Account Management System) is overly complex for basic account management needs. This adds a lightweight replacement at
web/public_php/account/that directly manages accounts in the nel database, shows domain/shard access, player characters, and ring session management through the RSM.Also fixes the ring session browser PHP scripts (broken on PHP 7.0+) and a UI element lookup bug in
help.xml.New account management tool (
web/public_php/account/)usertable with configurable default privileges and domain accesssettingtable (nel_00006.sqlmigration)Setup refactoring
setup/config_generation.php, used byinstall.php,upgrade.php, and newsetup_cli.phpsetup_cli.php) —install/upgradecommands with full CLI options,--devflag for development shard setupBug fixes
help.xml— threehidehandler procs passedtarget='ui:interface:X'butCAHUIHide::executeexpects just the container name as params. Fixed to passuniverse_chanel_warning,death_warning,night_warningdirectlysplit()calls withexplode()(split()removed in PHP 7.0)AMS redirect
Config flag
$AMS_REDIRECT_TO_ACCOUNTinconfig_user.php— whentrue, legacy AMSindex.phpredirects to../account/. Defaults tofalse.Screenshots
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.