Skip to content
Snippets Groups Projects
Commit d4189e81 authored by buczekp's avatar buczekp
Browse files

[LMS-1504] added authorization

SVN: 15721
parent 8d440310
No related branches found
No related tags found
No related merge requests found
......@@ -767,8 +767,9 @@ public interface ICommonServer extends IServer
*/
@Transactional(readOnly = true)
@RolesAllowed(RoleSet.OBSERVER)
public Project getProjectInfo(String sessionToken, ProjectIdentifier projectIdentifier);
// TODO authorization
public Project getProjectInfo(
String sessionToken,
@AuthorizationGuard(guardClass = SpaceIdentifierPredicate.class) ProjectIdentifier projectIdentifier);
/**
* Returns unique code.
......
......@@ -767,8 +767,9 @@ public interface ICommonServer extends IServer
*/
@Transactional(readOnly = true)
@RolesAllowed(RoleSet.OBSERVER)
public Project getProjectInfo(String sessionToken, ProjectIdentifier projectIdentifier);
// TODO authorization
public Project getProjectInfo(
String sessionToken,
@AuthorizationGuard(guardClass = SpaceIdentifierPredicate.class) ProjectIdentifier projectIdentifier);
/**
* Returns unique code.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment