Moodle

mod/chat:readlog doesn't work on it's own

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.5, 2.0
  • Component/s: Chat
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

You don't appear to only be able to read chat logs. The mod/chat:chat capability is a dependency because the readlog option is on the chat page. This isn't clear if it's a 'feature'.

Activity

Hide
Dongsheng Cai added a comment -

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?

Show
Dongsheng Cai added a comment - 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?
Hide
Howard Miller added a comment -

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.

Show
Howard Miller added a comment - 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.
Hide
Dongsheng Cai added a comment -

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

Show
Dongsheng Cai added a comment - 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
Hide
Petr Škoda (skodak) added a comment -

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)?

Show
Petr Škoda (skodak) added a comment - 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)?
Hide
Jonathan Moore added a comment -

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.

Show
Jonathan Moore added a comment - 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.
Hide
Helen Foster added a comment -

Forum discussion about the new capability mod/chat:talk:
http://moodle.org/mod/forum/discuss.php?d=118376

Any progress on this issue?

Show
Helen Foster added a comment - Forum discussion about the new capability mod/chat:talk: http://moodle.org/mod/forum/discuss.php?d=118376 Any progress on this issue?
Hide
Dongsheng Cai added a comment -

It is actaully wrong to introduce this capability, sorry, I will remove it and comit a new fix.

Show
Dongsheng Cai added a comment - It is actaully wrong to introduce this capability, sorry, I will remove it and comit a new fix.
Hide
Dongsheng Cai added a comment -

Fixed, please review.

Show
Dongsheng Cai added a comment - Fixed, please review.

People

Vote (0)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: