Sysmo DB
  1. Sysmo DB
  2. SYSMO-316

Blacklists and Whitelists do not work with JERM uploaded items

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.6.3
    • Fix Version/s: 0.7.0
    • Labels:
      None

      Description

      It relies on the contributor to determine who's white/black list to use. However, if it is uploaded by JERM then this is nil.

      Need to either use the creator(s) (needs some thought) or disable black/white lists for JERM uploaded items.

      For now, added a FIXME: comment to authorization.rb in lib/ and to skip white/blacklist checking if contributor is nil.

      Needs some functional tests for the final solution.

        Activity

        Hide
        Stuart Owen added a comment -

        disabled for JERM uploaded assets

        Show
        Stuart Owen added a comment - disabled for JERM uploaded assets

          People

          • Assignee:
            Stuart Owen
            Reporter:
            Stuart Owen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day
              1d
              Remaining:
              Remaining Estimate - 1 day
              1d
              Logged:
              Time Spent - Not Specified
              Not Specified