Documentation ¶
Index ¶
- func CheckResourceCodeInProject(ctx *fiber.Ctx, projectID uint64, codes ...string) (uid uint64, success bool, err error)
- func GetCurrentUserDataPermit(ctx *fiber.Ctx) (int, error)
- func GetCurrentUserDataPermitInProject(ctx *fiber.Ctx, projectID uint64) (int, error)
- func GetCurrentUserID(ctx *fiber.Ctx) (uint64, error)
- func GetUserRoleIdsInProject(uid, projectID uint64) (roleIDs []uint64, err error)
- func HasResourceCode(uid uint64, codes ...string) (hasAuth bool, userDataPerm int, err error)
- func HasResourceCodeInProject(uid, projectID uint64, codes ...string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentUserID ¶
func GetUserRoleIdsInProject ¶
func HasResourceCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.