2024-07-12 17:36:09 +00: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 19:29:29 +00:00
|
|
|
bool? CheckIfDirectAllowed(string path);
|
|
|
|
bool? CheckIfDirectAllowed(IEnumerable<string> groups, string path);
|
2024-07-12 17:36:09 +00:00
|
|
|
void Clear();
|
|
|
|
bool Remove(string path);
|
|
|
|
}
|
|
|
|
}
|