Examples of addIdentityToSecurityGroup()


Examples of org.olat.basesecurity.Manager.addIdentityToSecurityGroup()

    BusinessGroup g3 = bgm.createAndPersistBusinessGroup(BusinessGroup.TYPE_RIGHTGROUP, null, "g3", null, null, null, false, false, c2);

    Manager secm = ManagerFactory.getManager();
    secm.addIdentityToSecurityGroup(id1, g1.getPartipiciantGroup());
    secm.addIdentityToSecurityGroup(id2, g1.getPartipiciantGroup());
    secm.addIdentityToSecurityGroup(id1, g2.getPartipiciantGroup());
    secm.addIdentityToSecurityGroup(id3, g3.getPartipiciantGroup());

    BGRightManager rm = BGRightManagerImpl.getInstance();
    rm.addBGRight(CourseRights.RIGHT_ARCHIVING, g1);
    rm.addBGRight(CourseRights.RIGHT_COURSEEDITOR, g1);
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.