Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

188 B
Raw Blame
const INSTANCE_ADMIN_ROLE = "admin";

export function hasInstanceAdminRole(role: unknown) {
  return (
    typeof role === "string" && role.split(",").includes(INSTANCE_ADMIN_ROLE)
  );
}