* start with group permissions implementation * refactor group dto stuff * adjustments to api as necessary from client * more api refactor for UserData * use implicit usings and file scoped namespaces * fix userpermissionsextensions * fix extenions * add more comparers * adjust comparers * remove admin stuff (tbd migration to discord bot) * adjust extensions * code style for api --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
10 lines
389 B
C#
10 lines
389 B
C#
using MareSynchronos.API.Data;
|
|
using MareSynchronos.API.Data.Enum;
|
|
|
|
namespace MareSynchronos.API.Dto.User;
|
|
|
|
public record UserPairDto(UserData User, UserPermissions OwnPermissions, UserPermissions OtherPermissions) : UserDto(User)
|
|
{
|
|
public UserPermissions OwnPermissions { get; set; } = OwnPermissions;
|
|
public UserPermissions OtherPermissions { get; set; } = OtherPermissions;
|
|
} |