Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application specific: Add routes here #349

Open
github-actions bot opened this issue Jul 6, 2022 · 0 comments
Open

Application specific: Add routes here #349

github-actions bot opened this issue Jul 6, 2022 · 0 comments
Labels

Comments

@github-actions
Copy link

github-actions bot commented Jul 6, 2022

Application specific: Add routes here

* TODO Application specific: Add routes here

  },
};


// Routes that can be accessed without being logged in
export const PUBLIC_ROUTES: RouteRecordRaw[] = [
  ROUTES.LOGIN,
  ROUTES.SIGNUP,
];

// Type for constrained route
type ConstrainedRoute = {
  path: string, // URL path
  allowedRoles: string[] // Roles that are allowed to access the path
}

/*
 * Routes that have additional access constraints
 * allowedRoles specifies roles that don't have to fulfill constraints to access these pages,
 * constrainedRoles must provide the specified query parameters to access the page
 * TODO Application specific: Add routes here
 */
export const CONSTRAINED_ROUTES: ConstrainedRoute[] = [];

export default ROUTES

1a01db3be27c94b4247860763e1453ccb2a1d343

@github-actions github-actions bot added the todo label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants