I see there are 2 values for admin in 2 separate tables
people table: is_admin
community_membership table: admin
How does each of them get set? and how does it each of them influence other parts in the web app?
Right now in our marketplace we have 2 users for whom is_admin = 1, and 4 different users for whom admin = 1.
However, only the latter 4 currently have access to the Admin Panel.
It’s true that the names can be quite confusing.
community_memberships.admin: this setting (boolean) defines if a user of a marketplace is an admin in that marketplace (and that marketplace only).
people.is_admin: this setting (boolean) defines if a user is an admin in all marketplaces. This is like a super admin privilege.
The community_memberships.admin is managed from the admin panel, in the Manage users section. However the people.is_admin isn’t configured from any interface but only manually (via Rails console or database).
It’s important to be really careful when adding people.is_admin privileges to anyone, as this is quite powerful if you host multiple marketplaces.
pardon, in fact there is some by a doc with the different possible commands (rake, or modality concerning the /?enable when we are superadmin) I activate the multimarket for my network and I seek again and again for example to understand how to activate footers or plan management, best regards
Right now there isn’t such list of commands and guide, but you’ll find lots of information in this forum in older thread, and don’t hesitate to ask, in new threads, for help from others if you have specific questions that haven’t been answered yet!