controlling who can see a view

23 views
Skip to first unread message

Chris Withers

unread,
Nov 27, 2014, 2:35:54 AM11/27/14
to jenkins...@googlegroups.com
Hi All,

I'd like to have a view for a project that is only accessible to a few
users. How can I configure security on a view itself to prevent that
view showing to users who haven't been given permission to view it?

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk

Rupali

unread,
Nov 27, 2014, 4:27:15 AM11/27/14
to jenkins...@googlegroups.com
Hi Chris,

You can use "Project-based Matrix Authorization Strategy".
This works well with the LIST views and Sectional view (having minimum one list view).
You need to give permission to user per Job and user will be able to see views containing that job.
This doesn't work well for nested views.
If you give global VIEW.READ permission, then user will be able to see all views including nested views but the views not having user's jobs will appear empty.

Hope this helps.

Regards,
Rupali

Chris Withers

unread,
Dec 10, 2014, 1:44:40 AM12/10/14
to jenkins...@googlegroups.com
Hi,

I'm afraid I don't follow...

I don't want the view to be visible at all, how do I do that?

Chris
> --
> You received this message because you are subscribed to the Google
> Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jenkinsci-use...@googlegroups.com
> <mailto:jenkinsci-use...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/2a6bbb0d-a3fc-436f-8d1f-bf0a56a550c6%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/2a6bbb0d-a3fc-436f-8d1f-bf0a56a550c6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________

Rupali Chorghe

unread,
Dec 10, 2014, 2:20:10 AM12/10/14
to jenkins...@googlegroups.com

Do not give global view.read permission. Just give permission per job.

Regards,
Rupali


To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/2a6bbb0d-a3fc-436f-8d1f-bf0a56a550c6%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/2a6bbb0d-a3fc-436f-8d1f-bf0a56a550c6%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

--
Simplistix - Content Management, Batch Processing & Python Consulting
           - http://www.simplistix.co.uk

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/SL9BjW9lzIs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5487EBB6.40807%40simplistix.co.uk.
Reply all
Reply to author
Forward
0 new messages