help_text='The scopes we request when requesting user infos',
)
# ENTITLEMENT CHANGES
# path in the group tree to the VO Groups
# can be empty if we use the root
vo_subtree_path=db_models.CharField(
max_length=200,
blank=True,
null=True,
help_text='If not emtpy: Operate with groups of the described subtree of group (or entitlements). For example: Let\'s say the groups [/,/foo,/bar] exist and you set vo_subtree_path to "/". In that case the VO-Groups would be /foo and /bar',
)
# If True we shall ignore subgroups of the VO-Groups
# (VO-Group are the group on the path described by subtree_path)
ignore_subgroups=db_models.BooleanField(
default=False,
help_text='Ignore subgroups of VO describing groups. E.g. ignores the group :foo:bar if :foo exists.',
help_text='The scopes we use when requesting user infos',
)
# The field in the userinfo (served by this IdP) that describes groups of the user
userinfo_field_groups=db_models.CharField(
max_length=200,
help_text="The field in the userinfo (served by this IdP) that contains groups of the user. Leave blank if you don't want to use groups of this IdP",
default=None,
help_text="""The field in the userinfo (served by this IdP) that contains groups of the user.
Leave blank if you don't want to use groups of this IdP""",
default='',
blank=True,
null=True,
)
# The field in the userinfo (served by this IdP) that describes entitlements of the user
userinfo_field_entitlements=db_models.CharField(
max_length=200,
help_text="The field in the userinfo (served by this IdP) that contains entitlements of the user. Leave blank if you don't want to use entitlements of this IdP",
default=None,
help_text="""The field in the userinfo (served by this IdP) that contains entitlements of the user.
Leave blank if you don't want to use entitlements of this IdP""",
field=django_mysql.models.JSONField(default=feudal.backend.auth.v1.models.scopes_default,help_text='The scopes we use when requesting user infos'),
),
migrations.AlterField(
model_name='oidcconfig',
name='userinfo_field_entitlements',
field=models.CharField(blank=True,default='',help_text="The field in the userinfo (served by this IdP) that contains entitlements of the user.\n Leave blank if you don't want to use entitlements of this IdP",max_length=200),
),
migrations.AlterField(
model_name='oidcconfig',
name='userinfo_field_groups',
field=models.CharField(blank=True,default='',help_text="The field in the userinfo (served by this IdP) that contains groups of the user.\n Leave blank if you don't want to use groups of this IdP",max_length=200),