Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] Major Changes To Groups For CO-1404

Subject: COmanage Developers List

List archive

[comanage-dev] Major Changes To Groups For CO-1404


Chronological Thread 
  • From: Benn Oshrin <>
  • To:
  • Subject: [comanage-dev] Major Changes To Groups For CO-1404
  • Date: Tue, 31 Jan 2017 18:41:56 -0500
  • Ironport-phdr: 9a23:LGqaghVTBpV0GM9k7JTtxVzVU1jV8LGtZVwlr6E/grcLSJyIuqrYYxKAt8tkgFKBZ4jH8fUM07OQ6PG8HzJeqs/f+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG5oAnLt8QbgIRuJrswxxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuAyvqRxizYDXbo+aOvVxcb/Sc94BWWpMXNxcWzBdDo6ybYYCCfcKM+ZCr4n6olsDtQazCheqBOPp1zRGn2T23a0g0+QgFwHNwQstEMkQv3TSqtX1M7wfUeGzzKnU0zrDdfVW1inh6ITWaBwuv+yDXa9pfMfX1EIhFBvFg02OpYD5PD6ZzOAAvmqB4+Z9W++jlXQrpx9trjWs3ssgl5XFi4EPxl3K6Sl12pg5KcCmREJhf9KpH5lduieHPIVsWMwiWXtnuCMix70Gp5G7eC8KxYwnxx7YbvyHcpaH4hf5W+aQJTd0nWhqdbKlixa960Sv1/f8Wdeu31ZPripFlcLMtmwX2xPP7ciHT+Nx/kan2TmRywDe8v9ILVw3mKbBL5MswKQ8mocdvEjdBCP6hln6gayOekUh4Oeo6uDnYrv8pp+bMo95khrxPboomsy5BuQ1KQkOX26H+euizr3j+1P2QKlUgvEsjKbWrY3aKdwBpqGlGw9Vzpoj6xGnAji619QYmGMILFRfdxKIkYflIkzBL+7mDfqkh1SskSxrx+zdPrH/GJnNL37DkKv/crZn7U5T1hYzwc5F651KF74BPaG7Zkikv9vdBxkwPAHxz+v5INR7yo4EX2+TWOmUPL6Bn0WP47cFLu+KLKgOuCz8LbBx7fPoi3gRmFkBcLOv0IdNLn20A6I1cA2ifXPwj4JZQi8xtQ0kQbmyhQ==

I realize this is a bit late for 1.1.0, but we need to solve the "members is everyone or just active people" issue for Lafayette, so this is technically a bug. As I dig through this, a lot of code is touched, so I'm inclined to try to fix a few longstanding issues that are sort of related.

Ignoring transition issues for the moment, my proposal is to add two new attributes to co_groups:

group_type: An enum indicating if the group is a "special" group (admins, members, etc). If not null, the group cannot be deleted.

auto: A boolean indicating if the group is automatically managed. If so, the UI and REST API will not permit direct manipulation of the group.

(Once the existing code is refactored, the above means you could rename the admin group if you wanted.)

Upon creation of a new CO or COU, the following groups will be created (as appropriate):

CO:admins (formerly "admin")
CO:members:all (formerly "members", sort of)
CO:members:active
CO:COU:<couname>:admins (formerly "admin:<couname>")
CO:COU:<couname>:members:all (formerly "members:<couname>")
CO:COU:<couname>:members:active
CO:COU:<couname>:members:nested:all (includes subordinate COUs, eventually)
CO:COU:<couname>:members:nested:active

The prefix "CO:" will be reserved. However, we might ultimately want to allow COU specific groups to be made under CO:COU:<couname>:something.

The biggest issue is likely to be on the provisioning side. For LDAP directly provisioned by COmanage, the group memberships will change.

This is a big change, but we have to do it at some point, and I'm inclined to rip the bandage off sooner rather than later.

Thoughts?

Thanks,

-Benn-


  • [comanage-dev] Major Changes To Groups For CO-1404, Benn Oshrin, 01/31/2017

Archive powered by MHonArc 2.6.19.

Top of Page