manage_settings permission for existing staff groups (#3890)
* Backfill manage_settings permission for existing staff groups (#3873) PR #3856 started enforcing an explicit manage_settings permission to view or edit a module's settings (e.g. Scheduled Tasks), but existing staff groups that already had general access to those modules never had the new permission granted, silently locking non-super-admin staff out of settings pages they could previously use. Add an update patch that grants manage_settings to any existing group that already has access to the affected modules, preserving prior behavior for upgrading installs. * Match json_encode style with sibling permissions patch Drop JSON_THROW_ON_ERROR to stay consistent with patch79's plain json_encode() calls for admin_group.permissions. * Bump fresh-install last_patch to 80 Adding patch80 in the previous commit made a fresh install's seeded last_patch (still 79) report as behind on patches, since latestPatchLevel() now returns 80. Live Tests caught this via the "system is up to date" health check. * Scope manage_settings backfill to groups predating the enforcement change Codex correctly flagged that patch80 couldn't tell a legacy missing manage_settings key apart from a group where an admin deliberately left it unchecked after #3856 shipped, since the group form only submits checked checkboxes. Concretely, patch79 creates the Support Staff group scoped to ticket permissions only, and patch80 was immediately re-granting it support.manage_settings in the same run. Restrict the backfill to admin_group rows not updated since before #3856 (2026-06-28), so it only touches groups whose missing key predates the manage_settings checkbox existing at all.
Note
FOSSBilling is under active development and currently considered beta. Expect rough edges and limited support.
FOSSBilling is a free, open-source billing and client management system. It helps online service businesses automate invoicing, payments, and client communication. While it’s popular with web hosting providers, it also works well for software licensing, digital downloads, and subscription services.
Features
- Billing & Invoicing: automated invoices, reminders, and basic reporting.
- Client Management: a central place for client data and communication.
- Extensibility: extension-friendly architecture for integrations and custom features.
- Payments: support for multiple gateways.
- Translations: community-powered, multi-language interface.
- Responsive UI: usable on desktop and mobile.
- Security-focused: built with security best practices in mind.
Getting Started
Requirements
FOSSBilling runs on standard LAMP/LEMP stacks. For the latest system requirements (PHP version, extensions, database, etc.), see the official requirements.
Installation
Follow the step-by-step Getting Started guide.
Just exploring? Try the public demo.
Contributing
We welcome contributions from the community! We’re actively modernizing the codebase and there’s plenty to do.
- Read the contributor guide.
- Pick an item from the open issues.
- Open a PR when you’re ready.
If you prefer to start a conversation first, drop by the forum or say hello on Discord.
Star History
Not a developer? Starring the repository helps others discover the project.
License
FOSSBilling is released under the Apache 2.0 license. See LICENSE for details.
This project includes third-party work:
- Open Source Iconography by Pictogrammers under the Pictogrammers Free License.
Links
- Website: https://www.fossbilling.org/
- Documentation: https://docs.fossbilling.org/
- Discord: https://fossbilling.org/discord
- Twitter/X: https://twitter.com/FOSSBilling
