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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Admin can't open Email / Logs

    Support
    email eventlog
    2
    2
    131
    Loading More Posts
    • 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.
    • M
      msbt App Dev last edited by girish

      When trying to check the mail logs in Email -> Log, the superadmin-user works, regular admin throws this error and forwards to the dashboard:
      Failed to fetch mail eventlogs. Object { name: "ClientError", statusCode: 403, status: "Forbidden", message: "role 'owner' is required but user has only 'admin'" }

      Not sure if this is by design, if it is, we should rather hide the button to avoid confusion.

      girish 1 Reply Last reply Reply Quote 1
      • girish
        girish Staff @msbt last edited by

        @msbt It's intentional that only superadmins can see it. It won't be good for privacy if an admin could see all the emails being sent. It's OK for superadmins to see this because it's assumed they have SSH access.

        I have added a note in https://docs.cloudron.io/email/#event-log and fixed the UI to hide the button for non-superadmins.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        Powered by NodeBB