Access right to forum

Dec 1, 2011 at 10:00 PM

Hi,

 

Is it possible to restrict access right to certain users? say the user must be at least group Level 2 to access this forum

is that possible in the 7.0.1 version?

Coordinator
Dec 2, 2011 at 7:58 AM

No, it is not possible for now...

It is a feature request: http://nearforums.codeplex.com/workitem/20034

Dec 2, 2011 at 8:36 AM

Ok,

People on my site are asking/commenting about this feature. They dont want private stuff to be available once you register.
Is there a workaround for this? (i know this is asking for much as access level rights touch almost evenry part of the app)

or do i need to code it myself if i really want this feature? is that a huge task?

Coordinator
Dec 2, 2011 at 8:41 AM

I can't think of a workaround...

It's not a huge task but it would require to modify the db and some controller behaviour.

If you would like to give it a try, you can create a fork: http://nearforums.codeplex.com/SourceControl/network/create/fork.

Here you have the development instructions: http://nearforums.codeplex.com/wikipage?title=Development%20instructions&referringTitle=Documentation

 

Kind Regards,

Jorge

Dec 2, 2011 at 9:49 AM

Ok, i think i will give it a try

But i work like this:

I have integrated my own stuff in the NF solution. Added a new mvc webapplication and some classlib projects. They all use the Nearforums projects as references
I download the latest source from codeplex and merge it with KDIff. A bit of manual work but i do not mind
Merging manually would become problematic if i change more and more of the Nearforums source.

My knowlegde of asp.net is sufficient, but i am still learning ASP.NET MVC 3 (your code learns me alot btw :) )
SQL should not be a problem

I implemented a long polling ajax chat thing with asynccontroller that uses the nearforums credentials and access level, so i do think i will be able to implement the request myself. But if that works, i would be happy to push that into a fork
But i will need to see how it goes first :)