king
I'm new here

Execution of Lockable.save when user is added to group?

Dear FirstSpirit Community,

is it essential to execute an Lockable.save() command after having added a FirstSpirit user to a FirstSpirit group via:

group.addUser(user);

project.save();

When adding a FirstSpirit user to a FirstSpirit project this necessity exists. Here, the JavaDoc tells us to do that. Nevertheless we wonder, whether this is needed as well for the above use case!

0 Kudos
1 Reply
feddersen
Community Manager

Hi,

you're correct. Changes to groups need to be persistent with a project.save().

0 Kudos