[organization] Consolidate models together
@@ -66,6 +66,10 @@ LOG = logging.getLogger(__name__)
# Organizations
# -----------------------------------------------------------------------
+# TODO models2.py
+
+if ENABLE_ORGANIZATIONS.get():
+
class OrganizationManager(models.Manager):
use_in_migrations = True
@@ -289,7 +293,8 @@ class HuePermission(models.Model):
"""
Set of non-object specific permissions that an app supports.
- For now, we only assign permissions to groups, though that may change.
+ Currently only assign permissions to groups (not users or roles).
+ Could be move to support Apache Ranger permissions, AWS IAM... for Hue and connector access.
"""
app = models.CharField(max_length=30)
action = models.CharField(max_length=100)
