- Issue created by @yuanyuan.zhang
- π΅π±Poland salmonek
Hi @yuanyuanzhang,
Currently we do not support permissions for collaboration. This is something we will be investigating after 1.0.0 final release.
- πΊπΈUnited States yuanyuan.zhang Rockville, MD
Hi @salmonek,
Thanks for the update! Is it something I can do in custom javascript to provide custom config for ckeditor5?
- π΅π±Poland salmonek
For custom config related to permissions you linked - https://ckeditor.com/docs/cs/latest/guides/security/roles.html you don't actually need any custom js.
Permission config is embedded in access token which is being generated inDrupal\ckeditor5_premium_features\Generator\TokenGenerator
class. - π΅π±Poland salmonek
Hi @yuanyuanzhang,
As for now we have released 1.1.0 version which bring permissions for non-realtime collaboration.
Realtime collaboration permissions are also planned, but will require some updates in cloud services / on-premises server software.
We'll notify once we have more info about that. - Status changed to Fixed
about 1 month ago 8:36am 16 October 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- π§π·Brazil viniciusrp
@salmonek I believe we have a bug on it.
I updated the module to 1.3.2 and when I logged with an user with less privileges, but with access to the text-editor, the CKEditor thrown the message: "Access denied: You don't have enough permissions for this action.".The real-time collaboration permission is disabled and I continue getting this error.
Do you have any idea about it?
- π΅π±Poland salmonek
Hi @viniciusrp
Indeed there is a bug - we didn't add check whether permissions are enabled on access token generation.
I'm attaching a quickfix to ignore permissions on token generation, so it's only meant for applications that don't want to use them in RTC. This won't go into official release. Instead this patch I'll implement proper configuration check later. - π§π·Brazil viniciusrp
Hi @salmonek,
Thanks for the patch.Do you have any issue to follow the final fix or it will be reopened?