8000 Papaya-Locking optimizations · Issue #10 · papayaCMS/papayacms-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Papaya-Locking optimizations #10
Open
@SaschaKersken

Description

@SaschaKersken

I have reviewed the locking system and in my opinion there are some points to optimize locking without loosing existing functionality but getting a great plus with just a little effort.

  • lockTypes: you should reserve a range of lock types for the papaya system to avoid side effects on later extensions
  • It is not possible to lock multiple elements. Working in several tabs is state of the art. A variable for the locking mode (single [default] or multiple) and minor modifications of the method setLock should work.
  • There is a need for a method to capture an existing lock. Security queries are the realm of the environment and don't need to be implemented in this class.
  • On logout all existing locks of the given session should be killed. (Are there any logout hooks at all ?)
  • With multiple locks you need a method to remove a single lock and probably a method to get a list of existing locks (by session and optionally by type).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0