Package org.brixcms.plugin.publishing.auth

Examples of org.brixcms.plugin.publishing.auth.PublishWorkspaceAction


        @Override
        public boolean isVisible() {
            Workspace workspace = PublishingPanel.this.getModelObject();
            String state = SitePlugin.get().getWorkspaceState(workspace);
            Action action = new PublishWorkspaceAction(Context.ADMINISTRATION, workspace,
                    targetState);

            return requiredState.equals(state) &&
                    Brix.get().getAuthorizationStrategy().isActionAuthorized(
                            action);
View Full Code Here

TOP

Related Classes of org.brixcms.plugin.publishing.auth.PublishWorkspaceAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.