Skip to content

Commit

Permalink
Adjust time bound rights
Browse files Browse the repository at this point in the history
  • Loading branch information
ShootingStar91 committed Aug 13, 2024
1 parent 30a804e commit 62dad97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ app.use('/locality-species', localitySpeciesRouter)
app.use('/species', speciesRouter)
app.use('/reference', referenceRouter)
app.use('/time-unit', timeUnitRouter)
app.use('/time-bound', requireOneOf([Role.Admin]), timeBoundRouter)
app.use('/time-bound', requireOneOf([Role.Admin, Role.EditUnrestricted]), timeBoundRouter)
app.use('/region', requireOneOf([Role.Admin]), regionRouter)
app.use('/person', personRouter)
app.use('/project', projectRouter)
Expand Down

0 comments on commit 62dad97

Please sign in to comment.