Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add @restrict in dashboard related action class
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Aug 14, 2013
1 parent aac6aa6 commit 53a4583
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -28,6 +28,7 @@
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.security.Restrict;
import org.jboss.seam.security.management.JpaIdentityStore;
import org.zanata.annotation.CachedMethodResult;
import org.zanata.common.ActivityType;
Expand All @@ -49,6 +50,7 @@
*/
@Name("activityAction")
@Scope(ScopeType.PAGE)
@Restrict("#{identity.loggedIn}")
public class ActivityAction implements Serializable
{
private static final long serialVersionUID = 1L;
Expand Down
Expand Up @@ -32,6 +32,7 @@
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.security.Restrict;
import org.jboss.seam.log.Log;
import org.jboss.seam.security.management.JpaIdentityStore;
import org.zanata.annotation.CachedMethodResult;
Expand All @@ -48,6 +49,7 @@

@Name("dashboardAction")
@Scope(ScopeType.PAGE)
@Restrict("#{identity.loggedIn}")
public class DashboardAction implements Serializable
{
private static final long serialVersionUID = 1L;
Expand Down

0 comments on commit 53a4583

Please sign in to comment.