Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group alias need 1:1 mapping to group #2826

Closed
wants to merge 1 commit into from

Commits on Aug 3, 2023

  1. frontend: group alias need 1:1 mapping to group

    When i was developing group supported in OIDC, i found some wired hehavior in group activated in fedora-copr#2825,
    So i submitted this PR, and @praiskup also give advice a TODO so i include the fix as well
    
    This PR try to fix: fedora-copr#2825
        1. add unique contraint to fas_name and add migration script generated by alembic revision --autogenerate
        2. I think macro fas_group_href canbe replaced by config.GROUP_INFO.link.forma which is more configurable
        3. When creating a new alias for a group, if the group already has one alias, popup a flash and redirect to the already existed group
    
    Signed-off-by: Li Chaoran <[email protected]>
    pkking committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    2ea10ff View commit details
    Browse the repository at this point in the history