|
[
Permalink
| « Hide
]
Dongsheng Cai added a comment - 18/Jun/08 10:00 AM
You are able to assign mod/chat or mod/chatlogs capabilities to users, if you are going to stop user's chatting and allow them view the past chat session, you should override permissions in course setting. Am I misunderstanding you?
Sure you can set the capability, but you can't have just chatlogs. The button is on the chat page, which you only see if 'chat' capability is enabled.
A very minor point, but we wanted to set up a 'view only' user and it turns out that this is not possible for chat. introduce a new capability "chat:talk" if override this capability to false, the input box will be hide, the user cannot talk in the chat room
I can not find any use of mod/chat:talk, why was it added? Why does it not have clonepermissionfrom (required when adding caps into STABLE)?
It seems like bad policy to enable capabilities in stable before they do anything. I just spent about 30 minutes trying to figure out why this doesn't do anything in my latest stable download. In my version which I just synced against stable, removing the mod/chat:talk doesn't prevent the user from entering text into the chat.
Forum discussion about the new capability mod/chat:talk:
http://moodle.org/mod/forum/discuss.php?d=118376 Any progress on this issue? It is actaully wrong to introduce this capability, sorry, I will remove it and comit a new fix.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||