4:
Re: Re: Re: How to Assign users to the activities
By: Ernie Ghiglione
|
In response to 3 | 03/11/10 02:36 AM | ||
> But i am unable to restrict the user for the role of learner. how can i achieve that?
Easy, have a look at the method parameter in the login request: http://goo.gl/jk3i If you append learner as method, voila: your student is a learner in the LAMS course. If the method is author, the the user becomes author for that course. Now you might be thinking what if the students tamper the URL, well, that won't work as the hash won't get validated. The error you are getting is because there might not be any students? Can you have a look at the logs? Thanks, Ernie Posted by Ernie Ghiglione |
|
||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum