Skip to content

[BUG] Bad behaviour modifying space quota #1472

@jesmrec

Description

@jesmrec

Steps to reproduce

In order to reproduce the issue, please use an user account with User role (no admin or space admin). Let's call it John Smith

  1. An admin or space admin invites John Smith to become a member of a space with Manager permission
  2. John Smith open iOS app -> Spaces -> three dot button of the space he was recently invited to be part of
  3. Edit space
  4. Modify quota value
  5. Save

Expected behavior

Not allowed. An space manager is not allowed to modify the space quota.

Actual behavior

Saved, sent the PATCH request to the server that responds with a 403 Forbidden, because a regular user is not allowed to modify the space quota, even with the space manager permission. No feedback in the app about the error.

Quota changes just allowed for platform admin or space admin roles.

NOTE: I guess it's related with permission Drives.ReadWriteProjectQuota.all

iPhoneXR v18.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions