Proposal: A new authorization plugin for Folders

34 views
Skip to first unread message

Abhyudaya Sharma

unread,
Jul 9, 2019, 4:24:42 AM7/9/19
to Jenkins Developers
Hi everyone!

I've been working on a new authorization strategy that works on Cloudbees' Folders as a part of my GSoC project. There's a pull request to the Role Strategy Plugin that intends to implement it there because there is some code that they share. I would love to hear your views on moving it to a separate plugin.

The proposed implementation with the Role Strategy plugin requires for an optional dependency on the folder plugin. A new plugin, on the other hand, would allow us to have a strict dependency. For the new plugin, we could also straight-up refuse dangerous permissions (Role Strategy plugin supports them for backward compatibility) and thus have a cleaner implementation. On the other hand, to avoid a direct dependency on the Role Strategy, we would have to have some duplicated code. Also, if it is released there, the new feature would be available to its large user-base by just upgrading to the latest version.

Looking forward to your feedback!

Thanks
Abhyudaya Sharma

Abhyudaya Sharma

unread,
Aug 6, 2019, 11:51:45 PM8/6/19
to Jenkins Developers
Hi everyone!

We had decided to move the changes to the new Folder Auth plugin and have just released the first beta version. The plugin can be downloaded from the release on GitHub. It would be really great if you could try it out. Looking forward to your feedback!

Thanks
Abhyudaya
Reply all
Reply to author
Forward
0 new messages