Skip to content

Commit

Permalink
Update validateRepositoryManager.ts (#165)
Browse files Browse the repository at this point in the history
## Description

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Intermediate change (work in progress)

## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

- [ ] Test A
- [ ] Test B

## Checklist:

- [ ] Performed a self-review of my own code
- [ ] npm test passes on your machine
- [ ] New tests added or existing tests modified to cover all changes
- [ ] Code conforms with the style guide
- [ ] API Documentation in code was updated
- [ ] Any dependent changes have been merged and published in downstream
modules
  • Loading branch information
sadarunnisa-sf authored Jun 27, 2024
1 parent 857e571 commit e7a8a2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const isUserAllowed = async (
const userAccess = response.data;
return (
userAccess.role &&
['member', 'admin'].includes(userAccess.role) &&
['member', 'admin', 'maintainer'].includes(userAccess.role) &&
userAccess.state === 'active'
);
} catch (error) {
Expand Down

0 comments on commit e7a8a2f

Please sign in to comment.