Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#1487668 closed Feature Requests (invalid)

Read-only database mode

Reported by: damoxc Owned by:
Priority: 5 Milestone: later
Component: Database Version: 0.5-beta
Severity: normal Keywords:
Cc:

Description

It would be useful to be able to put Roundcube into a read-only mode where only the read-only database connection is required for use, however no changes can be made.

I apologise if this has already been requested. I have no idea how feasible this is, with a bit of guidance I would be quite happy to implement this.

Change History (2)

comment:1 Changed 2 years ago by thomasb

  • Resolution set to invalid
  • Status changed from new to closed

This is not possible. When a user logs in, the according session data has to be stored in the database which requires write access.

comment:2 Changed 2 years ago by damoxc

Ah that's a shame, I thought that might be the case. There's not really anyway around that is there, short of caching the session locally.

I suppose if the read-only period duration was known it would be possible to set the session expires time to whatever time it would be + duration, and simply reject logins for users without sessions, although that's not really an ideal solution.

Note: See TracTickets for help on using tickets.