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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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)

            Assignee:
            Alan Harder
            Reporter:
            kenorb
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: