Skip to content

Commit

Permalink
fix: users with CREATE_FEATURE permission cannot assign feature use…
Browse files Browse the repository at this point in the history
…rs / groups (#4371)
  • Loading branch information
matthewelwell authored Jul 23, 2024
1 parent 511793f commit d0f3704
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/web/components/modals/CreateFlag.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,11 +611,11 @@ const CreateFlag = class extends Component {
{!identity && projectFlag && (
<Permission
level='project'
permission='ADMIN'
permission='CREATE_FEATURE'
id={this.props.projectId}
>
{({ permission: projectAdmin }) =>
projectAdmin && (
{({ permission }) =>
permission && (
<>
<FormGroup className='mb-5 setting'>
<FlagOwners
Expand Down

0 comments on commit d0f3704

Please sign in to comment.