Skip to content

Move items from one album to another #23

@crspybits

Description

@crspybits

Server API Design

  1. Only allow album admin's to do this. This is a lot of power.

  2. The owners of all of the media items to be moved must also have membership in the target/destination album.

By owners here I mean the person that triggered the initial addition of each media item.
Without this, it is possible for the media items to be moved so that the person that had uploaded the item to no longer have access to the media item.

  1. We'll need to respond from this call with some detailed error results:

a) Success
b) Failed because user (mover) was not an admin
c) Failed because not all media item owners were in the target album.

iOSBasics SDK design

This is going to be a non-queued operation. It shouldn't take too much time to carry out on the server.

UI Design

  1. I plan to add two menu items under "Mark all read".
    IMG_5342

I'm putting these towards the bottom because these items are powerful.

I'll either disable these two options or not show them for non-admin users in the album.

a) "Move items": This will operate in a manner initially like the "Share items". The user can select items, and then can move them to a different album.

b) "Move all items"

In both of these options, the user will finally select a destination album. This is analogous to the way the deletion UI operates:

IMG_5343

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions