Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: Group custom attributes via GSH and SQL views

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: Group custom attributes via GSH and SQL views


Chronological Thread 
  • From: "Bee-Lindgren, Bert" <>
  • To: Carl Waldbieser <>, grouper-users <>
  • Subject: [grouper-users] Re: Group custom attributes via GSH and SQL views
  • Date: Thu, 20 Sep 2018 16:53:35 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:EpOSVheGHohUEEcqxEJTvhwblGMj4u6mDksu8pMizoh2WeGdxc26YxKN2/xhgRfzUJnB7Loc0qyK6/+mATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfbF/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRBDI2icoUPE+QPM+VWr4b/plsBsRSxCBK2C+/z1jNFnGP60bEn3+knDArI3BYgH9ULsHnMotn4KbkdXv6swKfOzDXDae5Z2Tjn6IfWdBAtueyHUK9ufsrL1UkjGR7Og1KLpoP7JTOVyv4BvHOF4OV+TO6vj28nqwdsrTig3McjlI/Ji5kSylDF6SV12ok1KsekSEFlfdGkEIFcuD+HOItrW84vRXxjtig9yr0Do5G7fS4KxYwoxx7ed/yHc5WI7Qn5WOmNJjd4gXRoc6+8iRaq6UWtxfHwWtOp3FpWrCdJiNjBu3QX2xDO5MWKTuNx8lqu1DuBzQzf9PxILEAumabGL5Mt2KA8mocQvEjbEC/5hkb7gLOTe0gh+uWn9+vqb7Hjq5KTLYB4lh3xP6Eql8GwHes1Ng0DUHKY9OihybLu+1DyTq9Qgf0siKbZtYjXJcQFqa69BA9Yyp4t5gq4ATu639kUhGcKIktYdB6eiIjmIE/BLOr/Dfein1SjizBrx+3APrL8GJnNNmLDkLD9fblj90Fc1AszzddZ555ODbEBPe7zWkv2tNzfDR81KRC7w+HiCNll14MeX3yAArOBPa7drVOE/P8jL/WOaYMPuTvwL+Ip6+PggHI9gVMdeLOm3ZoTaHC2BPRmJECZbGL3jdgfC2cKohAyQ/f0h1KcSDJTY3eyX6Qh6TE0EoKpE4HDS5uqgLyAwCe3BJJWaXpaCl+SDXjod5+IVOkRZyKPOsNhiCALVaC9S4890hGjrAD6y6BgLurJ4i0Xq4jj2MFo5+3Iix4y7yd0At+Z02GMVGF0gngISyEs0KB+p0x91kmM0bJ+g/NGCdxf+elFXRknOp7BnKRGDIXZUxjFNuiATFqsQ9i9DCt5Gs04x9MEYkt2M9GrgBnS0ja2DvkYm6HdQNQ76KXBx3XrYttmxmzdnP0ulV47WsZVcHC9i7Rk3wnVG4PTlUiFzeCneblKjwDX82LWh0CDsQR8UQh8Xr/IWzRXTEbMsZ6xsknPVaPoA7kqdw9Az8KNMKZMQtrokRNJTevuM9SYbm6szTTjTS2Uz6+BOdK5M14W2z/QXQ1dy1hJpySPKBQ+CyG9omnXED1pExf1bljx9fVl9y7pVVc6mgeNaUApl6G4/BIYn7S9c7sSxfpF3UVpsDBoBBC41tPSBcCHol9rcb9AJ9kw7RJD1GTVuBZwOLSnLrwkiVcCfg93+U7iykY/Bw==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Carl,


Here is a bash wrapper atop GSH that sets an attribute/value on a group or folder. It might be obscured by the bash'iness (I can help here) or might be too specific to the types of string-valued attributes I use it for (I can't help here).


Hoping this is at least a little useful,

  Bert




From: <> on behalf of Carl Waldbieser <>
Sent: Thursday, September 20, 2018 12:25 PM
To: grouper-users
Subject: [grouper-users] Group custom attributes via GSH and SQL views
 

I'd like to create a custom attribute that would be used on several groups.  I'd like the attribute to be able to hold one of several distinct enumerated values, though I suppose I could use a plain text value.  I'd like to be able to set the attribute and value on particular groups via a GSH script, and I'd like to be able to read the attribute via SQL using the Grouper view tables.

Any pointers on how to configure something like this?  GSH examples for setting an attribute and value on a group?  And what SQL views hold the group-attribute-value?

Thanks,
Carl Waldbieser
ITS Identity Management
Lafayette College



Archive powered by MHonArc 2.6.19.

Top of Page