Skip to content

Saving the modified user doc for Role Elevation from User to Author should propogate the change in role across active sessions #1109

Open
@Martii

Description

@Martii

As per @sizzlemctwizzle comment from #1107 (comment) and #1107 (comment) :

... call the update method of libs/modifySessions.js to make sure the change is propagated in the session store.

This is followup for the perceived missing logic in that code section that was not there before the PR of #1108


NOTES:

  • Missing aReq object to call existing modifySessions.update e.g. not in top level function signature.
  • RepoManager.loadScripts doesn't currently have aReq with a user in it on import scripts from GH (e.g. webhook won't be able to elevate using current modifySessions.update)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CODESome other Code related issue and it should clearly describe what it is affecting in a comment.bugYou've guessed it... this means a bug is reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions