Allowable Actions delete descriptions incomplete / confusing

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: Domain Model
    • None
    • Hide

      replace all with canDeleteObject

      Show
      replace all with canDeleteObject

      Section 3.1.3 Allowable Actions, Line 1909 (the table):

      AA canDelete covers method deleteAllVersions (can delete this object)
      AA canDeleteVersion covers deleteObject (can delete this doc object in the version series)

      Folder only has a method called deletObject. It seems makes sense to have something separate for folder objects, since it makes sense to turn off a user's ability to delete all versions of an object, but not turn off the ability to delete a folder.

      A couple of options here:

      1) Create three separate allowable actions:
      canDeleteAllVersions - deleteAllVersions
      canDeleteVersion - deleteObject (for docs)
      canDeleteFolder - deleteObject (for folders)

      2) Clarify the table for what is happening for non-documents:
      Doc - deleteAllVersions
      Folder - deleteObject
      Policy - removePolicy
      Rel - delete

            Assignee:
            Ryan McVeigh (Inactive)
            Reporter:
            Ryan McVeigh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: