Example #1
0
        public virtual VersionCommunityPermission Copy(TemplateDefinition template, TemplateDefinitionVersion version, litePerson person, String ipAddrees, String ipProxyAddress)
        {
            VersionCommunityPermission n = new VersionCommunityPermission();

            n.CreateMetaInfo(person, ipAddrees, ipProxyAddress);
            n.Version          = version;
            n.Clone            = Clone;
            n.Edit             = Edit;
            n.ChangePermission = ChangePermission;
            n.Type             = Type;
            n.Template         = template;
            n.ToApply          = ToApply;
            n.AssignedTo       = AssignedTo;
            return(n);
        }
Example #2
0
 public dtoCommunityAssignment(VersionCommunityPermission cp) : base(cp)
 {
     this.Type = PermissionType.Community;
     Roles     = new List <dtoRoleAssignment>();
     //Modules = new List<dtoModuleAssignment>();
 }