Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6832

When users without any permissions trying to Delete the view, there is fatal error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None
    • Debian 5.0 (lenny), Hudson ver. 1.358 with LDAP

      1. First of all going to /me/my-views/view/All/ user see all menu items which shouldn't see, like: New Job, Manage Hudson, People, Build History, Delete View, My Views
      2. Then clicking on 'Delete View'
      3. Choose Yes on question: 'Are you sure about deleting the view?'

      Then you will see following error:

      Status Code: 500
      Backtrace:
      Exception:
      Stacktrace:
      java.lang.IllegalStateException
      at hudson.model.MyViewsProperty.deleteView(MyViewsProperty.java:118)
      at hudson.model.View.doDoDelete(View.java:593)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)

            mindless Alan Harder
            kenorb kenorb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: