Skip to content

Commit

Permalink
BZ-1320502: AdministrationPerspective not loading for administrative …
Browse files Browse the repository at this point in the history
…user whose roles is not defined as admin (#278)
  • Loading branch information
paulovmr authored and csadilek committed Apr 19, 2016
1 parent 6b3768f commit 697f675
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Expand Up @@ -34,7 +34,6 @@
import org.uberfire.client.workbench.panels.impl.SimpleWorkbenchPanelPresenter;
import org.uberfire.mvp.Command;
import org.uberfire.mvp.impl.DefaultPlaceRequest;
import org.uberfire.security.annotations.Roles;
import org.uberfire.workbench.model.CompassPosition;
import org.uberfire.workbench.model.PanelDefinition;
import org.uberfire.workbench.model.PerspectiveDefinition;
Expand All @@ -49,7 +48,6 @@
/**
* A Perspective for Administrators
*/
@Roles({ "admin" })
@ApplicationScoped
@WorkbenchPerspective(identifier = "AdministrationPerspective")
public class AdministrationPerspective {
Expand Down
Expand Up @@ -34,7 +34,6 @@
import org.uberfire.client.workbench.panels.impl.SimpleWorkbenchPanelPresenter;
import org.uberfire.mvp.Command;
import org.uberfire.mvp.impl.DefaultPlaceRequest;
import org.uberfire.security.annotations.Roles;
import org.uberfire.workbench.model.CompassPosition;
import org.uberfire.workbench.model.PanelDefinition;
import org.uberfire.workbench.model.PerspectiveDefinition;
Expand All @@ -49,7 +48,6 @@
/**
* A Perspective for Administrators
*/
@Roles({ "admin" })
@ApplicationScoped
@WorkbenchPerspective(identifier = "AdministrationPerspective")
public class AdministrationPerspective {
Expand Down

0 comments on commit 697f675

Please sign in to comment.