Skip to content

Project admins can export but not import features #8237

Description

@bakirFS

How are you running Flagsmith

  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way (add details in description below)

Describe the bug

Project level admins are allowed to export features under Project Settings/Export but not to import under Project Settings/Import.
Only organization level admins are allowed to import features.
If a user has permissions to export features they should have permissions to import as well.

Steps To Reproduce

  1. Create user
  2. Grant the user project admin privileges
  3. Export features under Project Settings/Export
  4. Go to Project Settings/Import - see message "To manage this feature you need the Administrator permission for this organisation.
    Please contact a member of this organisation who has administrator privileges."

Expected behavior

Project admins should be able to import features

Screenshots

Image Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions