[
https://issues.apache.org/jira/browse/TC-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973376#comment-15973376
]
Jeremy Mitchell edited comment on TC-217 at 4/18/17 7:59 PM:
-------------------------------------------------------------
hierarchies are always harder to work with in my experience in the UI. They
require a tree. Flat data structures are much easier. For example, given the
data structure that i displayed here:
https://issues.apache.org/jira/browse/TC-217?focusedCommentId=15973263&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15973263
it's very easy to throw that in a UI table to display the tenants like this:
<pre>
+===========+==========+
| tenant | parent |
+===========+==========+
| root | |
+===========+==========+
| tenant1 | root |
+===========+==========+
| tenant1-a | tenant1 |
+===========+==========+
| tenant1-b | tenant1 |
+===========+==========+
| tenant2 | root |
+===========+==========+
| tenant2 | root |
+===========+==========+
</pre>
^^ this still shows the hierarchical relationship of the tenants....but you
don't have to deal with nasty hierarchical data...
was (Author: [email protected]):
hierarchies are always harder to work with in my experience in the UI. They
require a tree. Flat data structures are much easier. For example, given the
data structure that i displayed here:
https://issues.apache.org/jira/browse/TC-217?focusedCommentId=15973263&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15973263
it's very easy to throw that in a UI table to display the tenants like this:
+===========+==========+
| tenant | parent |
+===========+==========+
| root | |
+===========+==========+
| tenant1 | root |
+===========+==========+
| tenant1-a | tenant1 |
+===========+==========+
| tenant1-b | tenant1 |
+===========+==========+
| tenant2 | root |
+===========+==========+
| tenant2 | root |
+===========+==========+
^^ this still shows the hierarchical relationship of the tenants....but you
don't have to deal with nasty hierarchical data...
> Self Service - CRUD Sub Tenant
> ------------------------------
>
> Key: TC-217
> URL: https://issues.apache.org/jira/browse/TC-217
> Project: Traffic Control
> Issue Type: New Feature
> Components: Traffic Ops, Traffic Ops API
> Reporter: Ashish Timilsina
>
> Allow users to CRUD sub tenants below their tenant level or below any
> sub-tenant level they choose. Default would be directly below the current
> tenant value.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)