Check If User Has Priviliges (Rights)

PHOTO EMBED

Wed Aug 24 2022 07:24:00 GMT+0000 (UTC)

Saved by @HristoT #c#

new UserService(this.Service.Db).HasPrivilege(GLOB.User.UserID, UserPrivilegesType./*Check enum*/>)
// table -> const_priviliges
// many-to-many -> user_privileges
content_copyCOPY