Publish from private repository
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace MyOffice.Services.Account;
|
||||
|
||||
using Data.Models.Accounts;
|
||||
|
||||
public partial class AccountService
|
||||
{
|
||||
private static AccountAccess? GetUserAccess(Account account, Guid userId) =>
|
||||
AccountAcl.GetUserAccess(account, userId);
|
||||
|
||||
private static bool CanWrite(Account account, Guid userId) =>
|
||||
AccountAcl.CanWrite(account, userId);
|
||||
|
||||
private static bool CanManage(Account account, Guid userId) =>
|
||||
AccountAcl.CanManage(account, userId);
|
||||
}
|
||||
Reference in New Issue
Block a user