king
I'm new here

FirstSpirit ACCESS API retrieves wrong information for project <-> user memberships

Dear FirstSpirit community,

when using the FirstSpirit ACCESS-API to detect the membership of FirstSpirit users in FirstSpirit projects via:

project.isMember(user);

the method returns "true" although:

  • a FirstSpirit user does not reside in the FirstSpirit project itsself
  • FirstSpirit server has been restarted completely

Do you know why? Is there a bug existing?

The user itsself is still physically available in FirstSpirit but it has been removed completely from a dedicated FirstSpirit project.

Kind regards,

Holger King

0 Kudos
4 Replies
Peter_Jodeleit
Crownpeak employee

I assume the project is not "open for everyone". Is the user member of an "external group" of the mentioned project?

Peter
0 Kudos

Hi Peter,

the user is a local user - not marked as "external".

What do you mean by "open for everyone"?

0 Kudos

What do you mean by "open for everyone"?

The option labled "Allow all users" in project configurations.

Peter
0 Kudos

Dear Peter,

you are right, the option "Allow all users" is enabled. See screenshot enclosed. That's why even FirstSpirit users not belonging to a project marked as "accessible for all users" are members of this project. So, the ACCESS-API returns "true" for "project.isMember(user)" here.

allow_all_users_in_project.png

Is there a possibility to add this information to the FirstSpirit JavaDoc? Currently, there is no JavaDoc available at all - especially for this method.

0 Kudos