sakaiproject/Hilary — pull request #204 by bp323 (2012-10-18 21:27:13+00:00)
Title: Add permissions check to exposed POST REST endpoints, Add tests that check for working permissions check on POST REST endpoints

Secured the REST endpoints by checking if the user issuing the request is a global or tenant admin (depends on the context of the request).

Also added in tests that check that REST endpoints are secure.

Secured the following:

- Stop tenant
- Start tenant
- Create tenant
- Update tenant (name)
- Delete tenant
- Persist configuration values