2024-07-12 13:36:09 -04:00
|
|
|
namespace TwitchChatTTS.Chat.Groups.Permissions
|
|
|
|
{
|
|
|
|
public interface IGroupPermissionManager
|
|
|
|
{
|
|
|
|
void Set(string path, bool? allow);
|
|
|
|
bool? CheckIfAllowed(string path);
|
|
|
|
bool? CheckIfAllowed(IEnumerable<string> groups, string path);
|
2024-08-06 15:29:29 -04:00
|
|
|
bool? CheckIfDirectAllowed(string path);
|
|
|
|
bool? CheckIfDirectAllowed(IEnumerable<string> groups, string path);
|
2024-07-12 13:36:09 -04:00
|
|
|
void Clear();
|
|
|
|
bool Remove(string path);
|
|
|
|
}
|
|
|
|
}
|