How to upgrade quests users (OD-2172)
Artur opened 1 year ago

Hi,

We want to upgrade our installation to more recent version, however, there is one point in the changelog we are not sure how to handle:

Guest concept is removed as administrator can create read-only roles achieving same purpose. If you are limiting user permissions via guest option, please make sure to assign those users appropriate roles before upgrade

We have hundreds of users and many of them are guests. We created a guest role with no initial permissions and quests group without assigning any project to the group. I also set that new signup users would be automatically assigned to guests group. Would it be enough to replicate the existing guest function?

And also how to move existing guest users to the guests group?

Another question is that many of these guests are created by OneDev from opening a new issue from email. How to change the current behaviour to make these new users from email assigned to guests group?

  • Robin Shen commented 1 year ago

    You should have been created appropriate role and used in service desk settings for user authorization. You will need to adjust those roles to make sure that they do not have extra permissions other than issue reporting.

    If most of these users just participate via email, you may safely delete these guest accounts. They can still participate in projects they are authorized (via issue creating settings in service desk settings) without accounts.

    At last, to add users to group, please switch to the group page, and add them one by one. Or you may add users in batch via restful api.

  • Artur commented 1 year ago

    Thank you.

    However, the service desk settings do not allow group assignment. Only role assignment. Maybe this is not a big difference but it is much easier to list all users for a group. I did not find a way to list all users with a specific role.

    Another question is, that I cannot find a way to list all guests users. Therefore, I do not have an efficient way to assign all existing guests to guests group. Is there any way on the OneDev web ui to list all guests users?

  • Robin Shen commented 1 year ago

    OneDev can not filter by guest users, or assign users in batch to group. You may need to do it via restful api.

  • Artur commented 1 year ago

    thank you.

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2172
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover