Restricting guest access
-
wrote on Sep 3, 2023, 9:28 AM last edited by
Hi! Has anyone successfully restricted guest access to the CryptPad? I tried to follow the documentation and adding this line: AppConfig.registeredOnlyTypes = AppConfig.availablePadTypes; I tried both to add it in config.js file, and to create a file in the customize folder, as explained in the documentation of CryptPad. But nothing works. So I guess I'm doing something wrong
-
@mgn841 You have to create it in
/app/data/customize/application_config.js
as specified in https://docs.cryptpad.org/en/admin_guide/customization.html#restricting-guest-access. Like: -
wrote on Sep 4, 2023, 11:39 AM last edited by mgn841 Sep 4, 2023, 11:39 AM
I was using the File manager, and I did not understand the documentation very well. In case anyone has trouble doing this, use the terminal for CryptPad and copy the necessary file using:
cp /app/code/www/common/application_config_internal.js /app/data/customize/application_config.js
Then you can use the File manager to edit the application_config.js file. It is in the customize folder when you open the File manager