Commit Graph

1404 Commits

Author SHA1 Message Date
Michael Jumper
787dde88a9 In admin screen, limit groups to organizational groups or balancing groups we have admin privileges for, and limit connections to those we have admin/update for. 2013-08-17 15:31:48 -07:00
Michael Jumper
7334e76679 Allow GroupView to be filtered via arbitrary functions. 2013-08-17 15:31:48 -07:00
James Muehlner
d8e8eae489 Ticket #395: Fixed some small bugs. 2013-08-16 21:33:26 -07:00
James Muehlner
32c09e9dae Ticket #395: Add automatic READ and UPDATE permissions to ROOT in the permission checks. 2013-08-16 21:26:08 -07:00
James Muehlner
d3b94abbdd Ticket #263: Fixed variable name in comment. 2013-08-15 10:50:27 -07:00
James Muehlner
1ba07bc03b Ticket #263: Make sure that no group cycles can be created, and change it so you can move items to ROOT. 2013-08-15 10:33:31 -07:00
James Muehlner
e55131c3c5 Ticket #263: Made sure that we can't create connection group cycles. 2013-08-15 09:49:42 -07:00
Michael Jumper
5fb3352d1d Render groups as if they were connections if they are balancing and lack visible contents. 2013-08-15 03:18:58 -07:00
Michael Jumper
54d952d6bc Style balancing groups differently. 2013-08-15 03:15:31 -07:00
Michael Jumper
5ecf224e09 Add "empty" class if group is empty. 2013-08-15 03:07:35 -07:00
Michael Jumper
9de0d7a299 Expand root if shown. 2013-08-15 02:58:57 -07:00
Michael Jumper
738f3397b7 Allow specific group to be selected. 2013-08-15 02:56:43 -07:00
Michael Jumper
27eb3066f2 Implement SHOW_ROOT_GROUP flag for GroupView. Use said flag for dropdown group selector. 2013-08-15 02:42:46 -07:00
Michael Jumper
65215720c0 Render group selector as dropdown menu. 2013-08-15 02:18:24 -07:00
Michael Jumper
402bdaee34 Do not attempt to list groups unless we can expect to have the rights to do so. 2013-08-15 01:19:50 -07:00
James Muehlner
87b1b56b7f Ticket #263: Make sure to compare the correct object types in the group usage test. 2013-08-15 01:19:19 -07:00
James Muehlner
a5d22cb10d Merge branch 'unstable' of git://github.com/glyptodon/guacamole-client into unstable 2013-08-15 01:12:36 -07:00
James Muehlner
7e334e3559 Ticket #263: Group admins can use connection groups however they wish. 2013-08-15 01:07:07 -07:00
Michael Jumper
68fff285ff Monitor group checkboxes for changes and update perms. 2013-08-15 00:28:08 -07:00
Michael Jumper
cd222e1dcf Add support for connecting to groups. 2013-08-15 00:10:19 -07:00
Michael Jumper
06c242ec42 Populate group type field. 2013-08-15 00:10:19 -07:00
James Muehlner
a3d7f23c9e Ticket #263: Add CREATE_PERMISSION_GROUP permission. 2013-08-14 23:58:06 -07:00
James Muehlner
a96ce64589 Ticket #263: Added connection group permissions to user update CRUD servlet. 2013-08-14 23:54:11 -07:00
Michael Jumper
542947eaa0 System permission names should be compared with equals(), not startsWith(). 2013-08-14 22:59:57 -07:00
Michael Jumper
5fab1ea8d2 Add missing "connection group creation" permission. 2013-08-14 22:59:31 -07:00
James Muehlner
2f239ca203 Ticket #263: Checking correct parentID for move(). 2013-08-14 21:45:13 -07:00
Michael Jumper
5dcbd24206 Set parent when creating. 2013-08-14 18:59:33 -07:00
Michael Jumper
7c2ce7d8eb Remove unnecessary parentID parameter. 2013-08-14 18:17:26 -07:00
Michael Jumper
62df60e210 Remove unnecessary set of parent. 2013-08-14 18:16:50 -07:00
Michael Jumper
4fc8daa916 Call move if object's location changed. 2013-08-14 18:12:44 -07:00
Michael Jumper
dd04d849d6 Add support for move. 2013-08-14 18:09:54 -07:00
Michael Jumper
ac5050f0f7 Prevent accidental addition of cycles. 2013-08-14 17:44:41 -07:00
Michael Jumper
940539b097 Implement group selector. Show when location clicked. Save location. 2013-08-14 17:43:52 -07:00
Michael Jumper
908d79f06e Require stub connection/group for creation. 2013-08-14 17:43:52 -07:00
Michael Jumper
dfb833190e Add location field placeholder and styles. 2013-08-14 17:43:52 -07:00
Michael Jumper
bb0d41ae01 Allow GroupViews to be controlled by flags. Implement MULTISELECT and SHOW_CONNECTIONS flags. 2013-08-14 17:43:52 -07:00
James Muehlner
c600e289c3 Ticket #263: Root group is now organizational. 2013-08-14 17:24:41 -07:00
James Muehlner
0abd544165 Ticket #263: Fixed bugs around not being able to add connections or groups into the root group. 2013-08-14 16:45:30 -07:00
James Muehlner
28dbd67da6 Ticket #263: Add cascade delete onto parentID constraints. 2013-08-14 16:06:02 -07:00
Michael Jumper
386c56840b Ensure parent is set for newly-created connections and groups (for now). Need to actually implement connection/group move. 2013-08-14 14:33:29 -07:00
Michael Jumper
0127aec1b9 Add parentID to service calls. 2013-08-14 14:22:28 -07:00
Michael Jumper
8f328d68f9 Store parent group in Connection and ConnectionGroup. 2013-08-14 14:16:54 -07:00
Michael Jumper
18ef0d2f77 Remove connection name textbox. Add separate buttons for connection and group creation. 2013-08-14 13:43:45 -07:00
Michael Jumper
63288f45ee Update regarding new permissions. Set checkboxes of groups in GroupView appropriately. 2013-08-14 13:35:40 -07:00
Michael Jumper
476a20897b Add support for new permissions. 2013-08-14 13:33:06 -07:00
Michael Jumper
ee06c0a5ca Track list of all groups by ID within GroupView. Soft fail when set*() called on group or connection that isn't present in GroupView. 2013-08-14 13:29:21 -07:00
Michael Jumper
990f56c373 Fix copy-paste error. 2013-08-14 12:53:49 -07:00
Michael Jumper
e92f0b0df5 Implement renaming. 2013-08-14 12:46:12 -07:00
Michael Jumper
a995af3f77 DOCUMENT creation mode for ConnectionEditor and ConnectionGroupEditor. 2013-08-14 12:31:38 -07:00
Michael Jumper
c91202aa65 Add creation mode for ConnectionEditor and ConnectionGroupEditor. 2013-08-14 12:29:44 -07:00