Documentation ¶
Index ¶
- func CreateRole(c *gin.Context, request *acl.CreateOrUpdateRoleRequestDTO) error
- func DeleteRole(c *gin.Context, roleID *acl.RoleRequestDTO) error
- func PostAssignRoleToUserAction(c *gin.Context, getUserFunc func() beeorm.Entity, ...) error
- func UpdateRole(c *gin.Context, roleID *acl.RoleRequestDTO, ...) error
- type UserRoleSetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRole ¶
func CreateRole(c *gin.Context, request *acl.CreateOrUpdateRoleRequestDTO) error
func DeleteRole ¶
func DeleteRole(c *gin.Context, roleID *acl.RoleRequestDTO) error
func UpdateRole ¶
func UpdateRole(c *gin.Context, roleID *acl.RoleRequestDTO, request *acl.CreateOrUpdateRoleRequestDTO) error
Types ¶
type UserRoleSetter ¶
type UserRoleSetter interface {
SetRole(roleEntity *entity.RoleEntity)
}
Click to show internal directories.
Click to hide internal directories.