Skip to content

Conversation

@OmeGak
Copy link
Member

@OmeGak OmeGak commented Jul 28, 2021

This PR makes it possible for Indico instances to limit searching users by email to only managers. This includes:

  • Disabling registering to events as a different user than the one logged in.
  • Disabling speakers to give access to specific users/groups in protected uploaded material.
  • Disabling users to add other users as author/co-author in abstract submissions (details must be added manually).

@OmeGak OmeGak force-pushed the wip/public-user-search branch 6 times, most recently from 27fe09a to ef4687e Compare August 4, 2021 13:07
@OmeGak OmeGak force-pushed the wip/public-user-search branch 5 times, most recently from b4cdddf to 8988c34 Compare August 9, 2021 09:21
@OmeGak OmeGak force-pushed the wip/public-user-search branch 4 times, most recently from ccf8dcd to 8a787ee Compare August 11, 2021 16:48
@ThiefMaster ThiefMaster force-pushed the wip/public-user-search branch from 8a787ee to 4670cdd Compare August 13, 2021 09:50
@ThiefMaster ThiefMaster force-pushed the wip/public-user-search branch from 853da35 to ed322fd Compare August 13, 2021 11:23
@OmeGak OmeGak force-pushed the wip/public-user-search branch from ed322fd to 0d9d09b Compare August 16, 2021 12:45
@ThiefMaster ThiefMaster force-pushed the wip/public-user-search branch from 0d9d09b to ed322fd Compare August 16, 2021 12:52
@OmeGak OmeGak force-pushed the wip/public-user-search branch from ed322fd to fbe27bb Compare August 17, 2021 16:48
@OmeGak OmeGak force-pushed the wip/public-user-search branch from fbe27bb to b367d95 Compare August 18, 2021 14:10
Copy link
Member

@ThiefMaster ThiefMaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are also a bunch of linter warnings

@ThiefMaster
Copy link
Member

The "Add Indico user" button on /user/favorites/ should be disabled or hidden when public search is disabled. Same for the backend that adds a new favorite user as one could just bruteforce-add all the user ids to the favorites and then view them on that page.

Some widgets (mostly simple ACL widgets like the one used in the room booking settings) already support marking any user there as a favorite, but eventually we can add this everywhere or even in the user search result dialog (but not needed in this PR).

@ThiefMaster
Copy link
Member

RHPrincipals / RHEventPrincipals need the same kind of protection as RHUserSearch

@OmeGak OmeGak force-pushed the wip/public-user-search branch from b367d95 to 9e9c607 Compare September 14, 2021 15:51
@OmeGak
Copy link
Member Author

OmeGak commented Sep 15, 2021

The "Add Indico user" button on /user/favorites/ should be disabled or hidden when public search is disabled.

Done.

@OmeGak OmeGak force-pushed the wip/public-user-search branch from 9e9c607 to 055f69e Compare September 15, 2021 12:44
@kewisch
Copy link
Contributor

kewisch commented May 25, 2023

@OmeGak Would you have some time to update this PR so we can get it merged? I'd love to make use of this in our instance.

@OmeGak
Copy link
Member Author

OmeGak commented Jun 6, 2023

Hi @kewisch. It's been some time I didn't work on this PR after I bumped into a few non-trivial corner cases. I can find some time to rebase the code onto the current master but I don't think I will be able to finish it for now, as it's not a priority for my client. If you would like to have it finished urgently, maybe @ThiefMaster can guide you through whatever was missing?

@ThiefMaster
Copy link
Member

superseded by #6960

@ThiefMaster ThiefMaster closed this Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants