using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Windows; using BeWo.Data; using BeWo.Data.Access; using BeWo.Data.Entities; using BS.Shared; namespace BeWo.Service.Security { public class Right2Methods { public static Dictionary> GetAuthorizedMethodDictionary() { var dict = new Dictionary>(); dict.Add(UserRightType.UserView_AllowChangePassword, new string[] { "Cupcake", "Cake", "Candy" }); dict.Add(UserRightType.KalenderAnsehen, new string[] { "GetAllOpenAppointmentsForEmployee", "LoadTasksAndAppointmentsForEmployee", "GetAllOpenAppointmentsForEmployee" }); dict.Add(UserRightType.ChatSettings, new string[] { "GetAllChatActiveEmployeesCompact" }); return dict; } } }