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

No 'default' match condiftion doesn't allow to enforce a strict default release policy #3

Open
guillomovitch opened this issue Dec 27, 2017 · 1 comment

Comments

@guillomovitch
Copy link

According to my understanding, this module only allow to restricts the list of allowed attributes for some categories, not the reverse (extend the list of allowed attributes for them).

The following configuration allows services belonging to R&S category, or complying with eduGain Code of conduct to require eduPersonPrincipalName attribute:

50 => array(
  'class' => 'entitycategories:EntityCategory',
  'http://www.geant.net/uri/dataprotection-code-of-conduct/v1' => array(
    'eduPersonPrincipalName',
  ),
  'http://refeds.org/category/research-and-scholarship' => array(
    'eduPersonPrincipalName',
  ),
),

51 => array(
  'class'   => 'core:AttributeLimit',
  'default' => true,
)

However, as the module design requires to have AttributeLimit configured to allow any kind of attributes list overrides through metadata, I'm actually enforcing constraints only for services matching the categories specified in previous step, not for others. There seems to be no way to deny other services access to this attribute, if present in metadata.

@guillomovitch guillomovitch changed the title No 'default' match condiftion doesn't allow to enforce a stricter default release policy No 'default' match condiftion doesn't allow to enforce a strict default release policy Jan 5, 2018
@jaimeperez
Copy link
Member

Hi @guillomovitch!

Would your scenario be covered by the latest addition to the module (check the readme)?

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

No branches or pull requests

2 participants