Examples of SectionPermission


Examples of org.jboss.dashboard.security.SectionPermission

        SectionNode sNode = (SectionNode) Factory.lookup("org.jboss.dashboard.ui.config.treeNodes.SectionNode");
        sNode.setTree(getTree());
        sNode.setParent(this);
        sNode.setWorkspaceId(section.getWorkspace().getId());
        sNode.setSectionId(section.getId());
        SectionPermission editSectionPerm = SectionPermission.newInstance(section, SectionPermission.ACTION_EDIT);
        sNode.setExpandible(true);
        sNode.setEditable(UserStatus.lookup().hasPermission(editSectionPerm));
        return sNode;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.