Commit b07ac31a authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:sparkles: feat(community): Add an "Agreement signed" boolean to organizations

This add an Agreement signed boolean to the schema and the organization
 membership section

issue #5675
Showing with 12 additions and 1 deletion
+12 -1
......@@ -46,6 +46,10 @@ class communityOrganization extends simplePlugin
'fdCommunityMembershipType', FALSE,
$config->get_cfg_value('communityMembershipTypeChoices', array())
),
new BooleanAttribute (
_('Agreement signed'), _('Did this member returned the agreement signed'),
'fdCommunityMembershipAgreement', FALSE
),
new BooleanAttribute (
_('Active'), _('Is the membership of this organization active'),
'fdCommunityMembershipActive', FALSE
......
......@@ -76,6 +76,12 @@ attributetype ( 1.3.6.1.4.1.38414.52.13.3 NAME 'fdCommunityMembershipHidden'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.38414.52.13.4 NAME 'fdCommunityMembershipAgreement'
DESC 'FusionDirectory - Did this member returned the agreement signed'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
# Object Classes
objectClass ( 1.3.6.1.4.1.38414.52.2.1 NAME 'fdCommunityOrganization'
......@@ -85,7 +91,8 @@ objectClass ( 1.3.6.1.4.1.38414.52.2.1 NAME 'fdCommunityOrganization'
MAY ( fdOrganizationAlternateLastName $ fdOrganizationAlternateFirstName $
fdOrganizationAlternateAddress $ fdOrganizationAlternateCity $
fdOrganizationAlternateState $ fdOrganizationAlternateCountry $ fdCommunityEndDate $
fdCommunityMembershipType $ fdCommunityMembershipActive $ fdCommunityMembershipHidden))
fdCommunityMembershipType $ fdCommunityMembershipActive $ fdCommunityMembershipHidden $
fdCommunityMembershipAgreement ))
objectClass ( 1.3.6.1.4.1.38414.52.2.2 NAME 'fdCommunityProject'
DESC 'FusionDirectory - Community Project'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment