Skip to content

Commit 727ea8c

Browse files
committed
OpenConceptLab/ocl_issues#2287 | using core_user group
1 parent d741c85 commit 727ea8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/search/SearchInputDrawer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const SearchInputDrawer = ({open, onClose, input, initiateSearch, inputProps, is
7878
const [focus, setFocus] = React.useState(1);
7979

8080
const user = getCurrentUser()
81-
const canMatchSemantic = Boolean(isNested && (contextRepo?.version || version) !== 'HEAD' && contextRepo?.match_algorithms?.includes('llm') && user?.username && (!resource || resource === 'concepts')) && hasAuthGroup(user, 'mapper-approved') && hasAuthGroup(user, 'staff_user')
81+
const canMatchSemantic = Boolean(isNested && (contextRepo?.version || version) !== 'HEAD' && contextRepo?.match_algorithms?.includes('llm') && user?.username && (!resource || resource === 'concepts')) && hasAuthGroup(user, 'mapper-approved') && hasAuthGroup(user, 'core_user')
8282

8383
let lastIndex = isNested ? 2 : 1
8484
if (canMatchSemantic)

0 commit comments

Comments
 (0)