示例#1
0
 /// <summary>
 /// Gets a new default mod privileges group.
 /// </summary>
 /// <param name="channel">The channel where this will be in.</param>
 /// <returns>The requested privileges.</returns>
 public static Entites.Privileges GetNewMod(Entites.Channel channel)
 {
     return(new Entites.Privileges("Moderator", false, channel, Rules.GetNewModRules()));
 }
示例#2
0
 /// <summary>
 /// Gets a new default user privileges group.
 /// </summary>
 /// <param name="channel">The channel where this will be in.</param>
 /// <returns>The requested privileges.</returns>
 public static Entites.Privileges GetNewUser(Entites.Channel channel)
 {
     return(new Entites.Privileges("User", true, channel, Rules.GetNewUserRules()));
 }