Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Restricting guest access

Scheduled Pinned Locked Moved CryptPad
3 Posts 2 Posters 44 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mgn841M Offline
    mgn841M Offline
    mgn841
    wrote last edited by
    #1

    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 🙂

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote last edited by girish
    #2

    @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:

    image.png

    1 Reply Last reply
    1
  • mgn841M Offline
    mgn841M Offline
    mgn841
    wrote last edited by mgn841
    #3

    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 👍

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.