Skip to content

Commit

Permalink
Merge pull request #3 from vishnuvinay89/all-saas-0.1-dev
Browse files Browse the repository at this point in the history
Public api list changes
  • Loading branch information
sudeeppr1998 authored Dec 23, 2024
2 parents 4c24aa6 + 14352c7 commit 8ca6011
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/common/middleware/apiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ const createRouteObject = (
export const apiList = {
//tenant api
'/user/v1/tenant/read': createRouteObject({
get: {
ROLE_CHECK : rolesGroup.common,
},
get: {},
}),
//public api
'/user/v1/auth/login': createRouteObject({
Expand Down Expand Up @@ -199,11 +197,6 @@ export const apiList = {
}),
'/user/v1/list': createRouteObject({
post: {
// PRIVILEGE_CHECK: privilegeGroup.users.read,
// ROLE_CHECK: rolesGroup.admin_team_leader_teacher.concat(
// rolesGroup.student,
// ),
ROLE_CHECK : rolesGroup.common,
},
}),
//need confirmation
Expand Down Expand Up @@ -1561,7 +1554,8 @@ export const publicAPI = [ // no check of auth
'/user/v1/cohort/search',
// '/user/v1/create',
'/user/v1/fields/options/read',
// '/user/v1/tenant/read',
'/user/v1/tenant/read',
'/user/v1/list',
'/user/v1/auth/login',
'/user/v1/read/:userId',
'/user/v1/auth',
Expand Down

0 comments on commit 8ca6011

Please sign in to comment.