Update doc and changelog
This commit is contained in:
@@ -12,11 +12,12 @@ Breaking changes:
|
|||||||
- createUser
|
- createUser
|
||||||
- createLdapUser
|
- createLdapUser
|
||||||
- updateUser
|
- updateUser
|
||||||
|
* Event removed: "session.bootstrap" use "app.boostrap" instead
|
||||||
|
|
||||||
New features:
|
New features:
|
||||||
|
|
||||||
* Add pluggable authentication and authorization system (Work in progress)
|
* Add pluggable authentication and authorization system (Work in progress)
|
||||||
* Add groups (teams)
|
* Add groups (teams/organization)
|
||||||
* Add LDAP groups synchronization
|
* Add LDAP groups synchronization
|
||||||
* Add project groups permissions
|
* Add project groups permissions
|
||||||
* Add new project role Viewer (Work in progress)
|
* Add new project role Viewer (Work in progress)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ For each HTTP request:
|
|||||||
1. Fetch user role for this project
|
1. Fetch user role for this project
|
||||||
2. Grant/Denied access based on the project access map
|
2. Grant/Denied access based on the project access map
|
||||||
|
|
||||||
Extending access Map
|
Extending Access Map
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
The Access List (ACL) is based on the controller class name and the method name.
|
The Access List (ACL) is based on the controller class name and the method name.
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ Plugin Translations
|
|||||||
Plugin can be translated in the same way the rest of the application. You must load the translations yourself when the session is created:
|
Plugin can be translated in the same way the rest of the application. You must load the translations yourself when the session is created:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$this->on('session.bootstrap', function($container) {
|
$this->on('app.bootstrap', function($container) {
|
||||||
Translator::load($container['config']->getCurrentLanguage(), __DIR__.'/Locale');
|
Translator::load($container['config']->getCurrentLanguage(), __DIR__.'/Locale');
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
@@ -126,12 +126,12 @@ $this->container['hourlyRate']->getAll();
|
|||||||
Keys of the containers are unique across the application. If you override an existing class you will change the default behavior.
|
Keys of the containers are unique across the application. If you override an existing class you will change the default behavior.
|
||||||
|
|
||||||
Event Listening
|
Event Listening
|
||||||
----------------
|
---------------
|
||||||
|
|
||||||
Kanboard use internal events and your plugin can listen and perform actions on these events.
|
Kanboard use internal events and your plugin can listen and perform actions on these events.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$this->on('session.bootstrap', function($container) {
|
$this->on('app.bootstrap', function($container) {
|
||||||
// Do something
|
// Do something
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user