SuccessChanges

Summary

  1. tsk23, tsk25 Adds role atribute to User and adds RoleCallers (details)
Commit eed37bd31222fc72a4fe406d386c1881576875f1 by doambroa
tsk23, tsk25 Adds role atribute to User and adds RoleCallers
Added the role attribute as a String on the user, initialized with
"user" value by default in constructor. Updated datasets including role.
Added security calling the role of the currentUser by access control.
Updated UserEJBTest and EventEJBTest in order to get the login of the
RoleCallers Commented Event tests on testsuite
Settled as user by default
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/lettab/service/MailEJB.java
The file was modifiedtests/src/main/resources/datasets/events1.xml
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/lettab/domain/User.java
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/lettab/domain/UserTest.java
The file was addedtests/src/main/java/es/uvigo/esei/dgss/teamb/letta/service/util/security/UserRoleCaller.java
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/lettab/service/EventEJB.java
The file was modifiedtests/src/main/resources/datasets/events.xml
The file was modifiedtests/src/main/resources/datasets/users.xml
The file was modifiedtests/src/main/resources/datasets/users1.xml
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/lettab/service/UserEJB.java
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/lettab/service/EventEJBTest.java
The file was modifiedtests/src/main/resources/datasets/events-with-users.xml
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/lettab/service/UserEJBTest.java
The file was modifiedtests/src/main/resources/datasets/events4.xml
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/lettab/service/EJBTestSuite.java