Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1350

Limited rights for catalog administrators

    XMLWordPrintable

    Details

      Description

      Administrators of catalog categories should be able to modify the data of their owned categories, to move and delete them.

      This patch enables that:
      diff -r d1b46c731c2f src/main/java/org/olat/repository/ui/catalog/CatalogNodeManagerController.java
      — a/src/main/java/org/olat/repository/ui/catalog/CatalogNodeManagerController.java Mon Dec 08 08:42:01 2014 +0100
      +++ b/src/main/java/org/olat/repository/ui/catalog/CatalogNodeManagerController.java Thu Dec 11 11:58:57 2014 +0100
      @@ -322,7 +322,7 @@

      protected void initToolbar() {
      boolean canAddLinks = isOLATAdmin || isAuthor; // author is allowed to add!

      • boolean canAdministrateCategory = isOLATAdmin;
        + boolean canAdministrateCategory = isOLATAdmin || isLocalTreeAdmin;
        boolean canAddSubCategories = isOLATAdmin || isLocalTreeAdmin;

      if (canAdministrateCategory || canAddLinks) {

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            stephan Stephan Clemenz
            Tester:
            Stephan Clemenz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m