You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dialog or view to create it, with the following inputs :
- Name (required)
- Subtitle
- Quota -> the easiest way. No limit is also a value (check server)
Restrictions for space name (don't apply to subtitle):
- Space name cannot be empty
- Space name cannot exceed 255 characters
- Space name cannot contain the following characters: / \ . : ? * " > < |'
Only for users with space admin or admin roles ("Drives.Create.all")
Base request:
POST https://<server>/graph/v1.0/drives
(iOS team uses POST https://<server>/graph/v1.0/drives?template=default, any difference?)
the iOS app determines that by sending a POST request to /api/v0/settings/permissions-list with a JSON body containing the account_uuid: "{ "account_uuid": "..." }"
If the returned JSON contains the permission "Drives.Create.all", the user can create spaces.
This approach seems to be more dynamic as checking the role. That endpoint could help to know other permissions and that leads not to implement #4605. To discuss.
Activity
jesmrec commentedon Jun 24, 2025
the iOS app determines that by sending a POST request to
/api/v0/settings/permissions-listwith a JSON body containing the account_uuid: "{ "account_uuid": "..." }"If the returned JSON contains the permission "Drives.Create.all", the user can create spaces.
This approach seems to be more dynamic as checking the role. That endpoint could help to know other permissions and that leads not to implement #4605. To discuss.
joragua commentedon Sep 19, 2025
Summary
Account ManagerDrives.Create.Allpermission, a floating action button (FAB) is shown in the spaces list.Createbutton is tapped with valid values, the space is created on the server and the spaces list is refreshed.