# Functions
CheckPermission checks if a user has a specific permission for a route and method.
GetRoleByName fetch roles.
GetUserByUsername retrieves a user by username.
GetUsersByRoleID retrieves all users that have a specific role ID.
No description provided by the author
No description provided by the author
NewClusterService creates a new ClusterService instance.
NewRbacService creates a new RbacService instance.
NewUserService creates a new UserService instance.
UpdateClusterStatusToActive updates the cluster's status to "active".
ValidateToken validates the combined token and returns true/false along with clusterID.
# Structs
ClusterService handles cluster-related business logic.
No description provided by the author
RBAC service handles rbac-related business logic.
UserService handles user-related business logic.
# Interfaces
Collection defines an interface for MongoDB operations.
No description provided by the author