https://bugs.kde.org/show_bug.cgi?id=435409
--- Comment #14 from Laurent Montel <mon...@kde.org> --- (In reply to Angel Docampo from comment #13) > ok, I've compiled with debug, open ruqola and... context menu showed > *without* edit and delete options for the user without permissions... > > I logged in back with my user (which is an administrator), and the options > were there, so far so good. > > I logged it back with the non-privileged user and the options this time were > shown... > Closing ruqola and open it back, showed the context menu just fine, without > the options. > > I think you can reproduce the error by yourself, if not, tell me how to to > send the debug, as in the output I can just see this: > org.kde.rocketchatqtrestapi: "RocketChatRestApi::UpdateMessageJob" error > reply: "Error transferring https://chat.eoniantec.com/api/v1/chat.update - > server replied: Bad Request" > org.kde.rocketchatqtrestapi: errorType "error-action-not-allowed" > org.kde.rocketchatqtrestapi: RESTAPI: "UpdateMessageJob: problem: {\n > \"details\": {\n \"action\": \"Message_editing\",\n > \"method\": \"updateMessage\"\n },\n \"error\": \"Message editing not > allowed [error-action-not-allowed]\",\n \"errorType\": > \"error-action-not-allowed\",\n \"success\": false\n}\n" What is the debug for " qDebug() << " message.userId() " << message.userId() << " userId() " << userId();" ? you need to put it just after " if (hasPermission(QStringLiteral("delete-message"))) { return true; }" There is not caching so perhaps you change setting without restart ruqola and ruqola doesn't react on it but if you relaunch it it will get permission etc from server. -- You are receiving this mail because: You are watching all bug changes.