Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Nov 28, 2023
1 parent c9ac056 commit 39306e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [5.0.0](https://github.com/lcharette/UF_ConfigManager/compare/3.0.0...4.0.0)
- Update for UserFrosting 5
- Default schema is not included anymore. You can copy it from `public/schema/config/`.
- Demo is available to test from `public/`

## [3.0.0]
- Bump minimum PHP version to 7.1.
- Support for FormGenerator 4.0
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Configuration Manager sprinkle for [UserFrosting 5](https://www.userfrosting.com
If you need help using this sprinkle or found any bug, feels free to open an issue or submit a pull request. You can also find me on the [UserFrosting Chat](https://chat.userfrosting.com/) most of the time for direct support.

# Installation

To install in your Sprinkle :
1. Add this package with Composer :
```
composer require lcharette/uf_configmanager
Expand All @@ -50,6 +50,13 @@ If you need help using this sprinkle or found any bug, feels free to open an iss
php bakery bake
```

# Working example

The `public/` directory serves as an example of ConfigManager. You can clone this repository and install as any UserFrosting 5 sprinkle :
1. `composer install`
2. `php bakery bake`
3. `php -S localhost:8080 -t public`

## Permissions
The migration will automatically add the `update_site_config` permission to the `Site Administrator` role. If it's not added automatically, you can run the `UserFrosting\Sprinkle\ConfigManager\Database\Seeds\SettingsPermissions` seed using the `php bakery seed` command or add it manually in the admin UI. To give access to the config UI to another user, simply add the `update_site_config` permission slug to that user role.

Expand Down

0 comments on commit 39306e9

Please sign in to comment.