Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-1482

Read-only user can modify Data modeler by OptaPlanner widget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 7.20.0.Final
    • optaplanner-wb
    • None
    • Hide
      1. Login as an admin user.
      2. Edit analyst role to be read-only for Projects.
      3. Login as an analyst user.
      4. Open a data object.
      5. Open OptaPlanner widget.
      6. Try to select Planning Entity or Planning Solution.
      7. Result: It is possible to change the Planner Settings and the source code is also changed.
      8. Expected: The radio buttons should be disabled.
      Show
      Login as an admin user. Edit analyst role to be read-only for Projects. Login as an analyst user. Open a data object. Open OptaPlanner widget. Try to select Planning Entity or Planning Solution. Result: It is possible to change the Planner Settings and the source code is also changed. Expected: The radio buttons should be disabled.
    • NEW
    • NEW

    Description

      OptaPlanner Widget radio buttons are not disabled for project read-only users. They should be disabled when user has no permissions to update a projects.

      See the comment https://github.com/kiegroup/kie-wb-common/pull/2593#issuecomment-486162045

      Attachments

        Issue Links

          Activity

            People

              jlocker Jiří Locker
              tdavid@redhat.com Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: