Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] remove flattened permissions rule check type

Subject: Grouper Developers Forum

List archive

[grouper-dev] remove flattened permissions rule check type


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Grouper Dev <>
  • Subject: [grouper-dev] remove flattened permissions rule check type
  • Date: Thu, 1 Mar 2012 05:18:59 +0000
  • Accept-language: en-US

2.1 is tagged and built again

 

This is the last 2.1 task:

 

https://bugs.internet2.edu/jira/browse/GRP-747

 

This was done since flattened permissions change log entries were removed, so there are no rules based on them. They were removed for performance reasons. There are upgrade instructions for removing rules that use this:

 

SELECT * FROM grouper_rules_v WHERE rule_check_type LIKE 'flattenedPermission%'

 

Get the IDs like this:

 

SELECT attribute_assign_id FROM grouper_rules_v WHERE rule_check_type LIKE 'flattenedPermission%'

 

Then delete them:

 

GrouperSession.startRootSession();

AttributeDefFinder.findByName("stem:permissionDef", true).getAttributeDelegate().removeAttributeByAssignId("whateverIdReturnedFromPreviousQuery");

 

You should coordinate with the owners of the objects about removing this functionality

 

Thanks,

chris



  • [grouper-dev] remove flattened permissions rule check type, Chris Hyzer, 03/01/2012

Archive powered by MHonArc 2.6.16.

Top of Page