Closed Dantemss closed 10 years ago
AccessPolicy now has a method_missing matcher for _allowed? e.g. read_allowed?
Controllers get a require_restful_actions_allowed? to call AccessPolicy for show, new, create, edit, update and destroy.
released 2.1.0, added travis config and enabled travis build (didn't add badge to readme)
This change will namespace AccessPolicy to OSU::AccessPolicy. I will make pull requests for OSA and OSE to change this once this is published.