« Previous | Next » 

Revision 3ba15f01

ID3ba15f0158d645b68a6f9e4d1059f810ce6b2c6e
Child 2df9c7cf

Added by Rens Admiraal almost 8 years ago

[BUGFIX] Role handling depends on an active database connection

The PolicyService now depends on having an active database connection.
This connection is not always available (like in the Neos setup) and
is not required at all for authentication using in memory roles like
the system roles.

This change updates the PolicyService to ignore synchronization if
the RoleRepository has no active database connection, and makes the
FileBasedSimpleKeyProvider use a Role object which only exists in
memory.

Releases: master
Change-Id: I83f8904cf3ecd086eb86f46e01dd602f592c8e19

  • added
  • modified
  • copied
  • renamed
  • deleted