Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Hack: ReadOnly Categories
This discussion has been closed.
Comments
More precisely, I need 4 different, role based, category "level"; where Vanilla has 2:
• invisible/blocked : in Vanilla
• read-only
• read and write comment but no "open a new discussion"
• full access: in Vanilla
I plan to code something similar to DShafik's patch, hide unauthorized discussion to a given user. This will not be a full fledged feature since a skilled user could probably achieve to post by tweaking client side data. Anyway the extension paradigm has some limit and it will satisfy most install around.
At the moment my though is to use the fact that roles are ordered (the "Priority" column) and add a column to the category table to hold the two "required level" for the write and create mode.
I'll start coding tomorow on this. I wanted to share in advance to save duplicate effort, in case some other attempt is close to release. In this latter case, I'll not take the time to package a separate extension and stick this add in my "local application tweak global extension".
Comments welcome.
I've no technical advice since I'm no coder, but I'd be glad to help you for some testing.
http://lussumo.com/community/discussion/4640/new-extension-categoryroles-requires-a-new-delegate/