SuccessChanges

Summary

  1. Tsk31 Adds the access control in the service UserService (details)
Commit 5c509e6557df063eeba18984126291e1fd9d20d6 by bmcandeias
Tsk31 Adds the access control in the service UserService
Modifies the UserService to keep an access control by role. The service
findStories, which is to get the stories of an author, is adapted to
take an access control by role and by the own user of the stories. The
name of this service has been changed by findStoriesByAuthor to support
a concordance with its action. In addition, the param is now the login
of the author to control the access in the down layers and prevent have
to control the access in the REST and JSF layers.
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/UserService.java (diff)
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/UserServiceIllegalAccessIntegrationTest.java (diff)
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/UserServiceIntegrationTest.java (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/domain/entities/StoryDataset.java (diff)
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/ServiceIntegrationTestSuite.java (diff)