Check whether a user got access to a forum

Check whether a user got access to a forum

از Anon Anon در
Number of replies: 2
Hello 


We have a forum that's been set to only allow access for users under specific group via the "Restrict Access" feature.

I'm looking for a function or method to verify whether a user got access to the forum(whether he's passing the required access restrictions).


Is there such thing?


Thanks

Y

میانگین امتیازات:  -
In reply to Anon Anon

Re: Check whether a user got access to a forum

از Anon Anon در

BUMP.

Anyone?

In reply to Anon Anon

Re: Check whether a user got access to a forum

از Darko Miletić در

I suggest you take a look at unit test for group accesibility condition plugin which is located at

[moodle]/availability/condition/group/tests/condition_test.php method test_usage