Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix some errors
mchyzer committed Mar 2, 2024
1 parent 3524838 commit 632d6c6
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ex101/ex101.1.1/container_files/postgres/hr_depts.sql
@@ -123,8 +123,8 @@ insert into hr_depts(dept_id, name, parent_dept_id, abbrev) values
create table hr_orgs (
dept_id VARCHAR(5) primary key references hr_depts (dept_id),
abbrev VARCHAR(5),
min_dept_id VARCHAR(5) references hr_depts (dept_id),
max_dept_id VARCHAR(5) references hr_depts (dept_id),
min_dept_id VARCHAR(5),
max_dept_id VARCHAR(5),
range_desc VARCHAR(30)
);

5 changes: 5 additions & 0 deletions ex401/ex401.end/container_files/grouper/bootstrap.gsh
@@ -331,6 +331,8 @@ GrouperSession.start(gs.subject)

HelperMethods.addAttestation(wri250Ref, "true", "30")

GrouperSession.stopQuietly(gs2);
gs2 = GrouperSession.startRootSession();

// Set a rule on the consultants group vpnConsultantsRef
AttributeAssign attribAssign = vpnConsultantsRef.attributeDelegate.addAttribute(RuleUtils.ruleAttributeDefName()).attributeAssign
@@ -346,6 +348,9 @@ attribAssign.attributeValueDelegate.with {
assignValue(RuleUtils.ruleThenEnumArg1Name(), "T")
}

GrouperSession.stopQuietly(gs2);
gs2 = GrouperSession.startBySubjectIdentifierAndSource("kjenkins", "eduLDAP")

vpnConsultantsRef.addMember(SubjectFinder.findByIdentifierAndSource("rjohnso5", "eduLDAP", true), false)


0 comments on commit 632d6c6

Please sign in to comment.