|
@@ -264,7 +264,7 @@ namespace GxPress.Repository.Implement
|
|
|
//获取当前用户的权限
|
|
|
groupDetailResult.GroupUserRoleId = groupUser != null ? groupUser.GroupUserRoleId : 0;
|
|
|
groupDetailResult.IsUDisturb = groupUser != null ? groupUser.IsUDisturb : false;
|
|
|
- //groupDetailResult.IsAdmin = groupUser != null ? groupUser.UserId == groupDetailResult.UserId : false;
|
|
|
+ groupDetailResult.IsAdmin = groupDetail != null ? groupDetail.UserId == groupDetailResult.UserId : true;
|
|
|
groupDetailResult.IsUser = groupUser != null ? groupUser.UserId == request.UserId : false;
|
|
|
groupDetailResult.CreatedDate = groupDetail.CreatedDate;
|
|
|
return groupDetailResult;
|