Skip to content

Allow user to unlock a tree that has been locked for editing by another #3231

Closed

Description

@RustedKnight

As my orginization is working through a migration from 0.8x to 1.2.x we have come across a potential vulnerability. One of my co-admins and I were discussing this. While we see the need to lock a tree for editing by a single person we can see how this would be a major risk. For example, say there is a rouge employee that due to the nature of their job they have to have admin rights. It would be possible for them to lock every tree for editing then remove their account and quit via no call no show. This would essentially render the entire tree structure unusable. Would it be possible to create a privilege that would allow a few select accounts to unlock trees that are already locked so that in the event of something like this the tree structure can be recovered?

Activity

  1. netniV commented on Feb 4, 2020

    @netniV
    Member

    I'm not sure whether such functionality exists or not, I'd have to take a look tomorrow. Certainly, I do not recall a privilege for it, but there may be a CLI method. If not, we should certainly look to enhance that in 1.3. Until it's decided one way or the other, I'm going to tag unverified as I don't just want to slap the enhancement tag on unnecessarily.

  2. RustedKnight commented on Feb 5, 2020

    @RustedKnight
    Author

    I'm not saying it has to be a privilege that can be set. Perhaps it may be easier to set a sunset on the lock. For example, if a tree is locked for 2 hours check to see if the editing page is still open, if it is not open auto unlock or maybe if a tree is locked for editing for say greater than 12 hours auto unlock it. I just know we stumbled across a situation that brought this conversation up and I wanted to pass it along as it seemed a valid concern and based on our testing it could be a problem. I do however concede that our testing is GUI based only up to this point. If you find a way, even if it is only through command line then I am all ears.

  3. self-assigned this
    on Feb 5, 2020
  4. added
    bugUndesired behaviour
    and removed
    unverifiedSome days we don't have a clue
    on Mar 14, 2020
  5. added this to the 1.2.11 milestone on Mar 14, 2020
  6. added a commit that references this issue on Mar 14, 2020
  7. TheWitness commented on Mar 14, 2020

    @TheWitness
    Member

    Resolved.

  8. changed the title [-]Ability to unlock a tree that has been locked for editing by another account.[/-] [+]Allow user to unlock a tree that has been locked for editing by another[/+] on Apr 5, 2020
  9. locked and limited conversation to collaborators on Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourresolvedA fixed issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions