Skip to content

Commit

Permalink
version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkudera committed Aug 28, 2015
1 parent 70f9d3c commit e74b40a
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,29 +260,6 @@ class BookPresenter extends BasePresenter
}
```

or with object as resource:

```php
class BookPresenter extends BasePresenter
{

/**
* @resource ::getBook()
* @action edit
*/
public function actionEdit($id)
{

}

public function getBook()
{
return $this->books->findOneById($this->getParameter('id'));
}

}
```

## Securing presenter components and signals

You can restrict any component or signal to some action. With that no one can access for example edit form from add action.
Expand Down Expand Up @@ -397,8 +374,14 @@ for it's own needs.

## Changelog

* 1.2.0
+ Add support for interfaces at target authorizators [#5](https://github.com/Carrooi/Nette-Security/issues/5)
+ Refactored tests [#2](https://github.com/Carrooi/Nette-Security/issues/2)
+ Remove support for magic presenter resource getters [#7](https://github.com/Carrooi/Nette-Security/issues/7)
+ Fix magic resource authenticator with private `is<action>Allowed` [#4](https://github.com/Carrooi/Nette-Security/issues/4)

* 1.1.0
+ Add
+ Add support for magic resource authenticator methods `is<action>Allowed`

* 1.0.3
+ Add lazy register resource authorizators - prevents circular references in some cases
Expand Down

0 comments on commit e74b40a

Please sign in to comment.