grouper-dev - Re: [grouper-dev] last modified time for stems and members ?
Subject: Grouper Developers Forum
List archive
- From: Tom Zeller <>
- To: Grouper Dev <>
- Subject: Re: [grouper-dev] last modified time for stems and members ?
- Date: Tue, 18 Oct 2011 10:33:39 -0500
> Stems have a modify_time which is similar to groups. They also have
> last_membership_change, which tells you when a privilege was last added or
> deleted from the stem. I'm guessing this is not what you want.
It is possible to add/remove permissions (not privileges) to/from stems,
right ?
If so, what would that code look like ?
Role role = childStem.addChildRole("childRole", "Child Role");
role.addMember(SubjectTestHelper.SUBJ0, true);
AttributeDef attributeDef = childStem.addChildAttributeDef("perm",
AttributeDefType.perm);
attributeDef.setAssignToGroup(true);
attributeDef.store();
AttributeDefName attributeDefName =
childStem.addChildAttributeDefName(attributeDef, "permName", "perm
name");
role.getPermissionRoleDelegate().assignRolePermission(attributeDefName,
PermissionAllowed.ALLOWED);
// what do I do here ?
childStem.addPermission?();
Apologies for my confusion.
- [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/14/2011
- Re: [grouper-dev] last modified time for stems and members ?, Shilen Patel, 10/14/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/14/2011
- RE: [grouper-dev] last modified time for stems and members ?, Chris Hyzer, 10/14/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/18/2011
- RE: [grouper-dev] last modified time for stems and members ?, Chris Hyzer, 10/18/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/18/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/18/2011
- RE: [grouper-dev] last modified time for stems and members ?, Chris Hyzer, 10/14/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/18/2011
- RE: [grouper-dev] last modified time for stems and members ?, Chris Hyzer, 10/18/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/18/2011
- RE: [grouper-dev] last modified time for stems and members ?, Chris Hyzer, 10/18/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/18/2011
- RE: [grouper-dev] last modified time for stems and members ?, Chris Hyzer, 10/18/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/18/2011
- RE: [grouper-dev] last modified time for stems and members ?, Chris Hyzer, 10/18/2011
- Re: [grouper-dev] last modified time for stems and members ?, Tom Zeller, 10/14/2011
- Re: [grouper-dev] last modified time for stems and members ?, Shilen Patel, 10/14/2011
Archive powered by MHonArc 2.6.16.