final setup for grouper ui integration

Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/0ff0e89d
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/0ff0e89d
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/0ff0e89d

Branch: refs/heads/grouper-integration
Commit: 0ff0e89ddc6d8f2976d6365ba97c1c8d6e2bf55a
Parents: a195a5b
Author: Jeff Kinnison <[email protected]>
Authored: Fri Jul 8 11:07:52 2016 -0400
Committer: Jeff Kinnison <[email protected]>
Committed: Fri Jul 8 11:07:52 2016 -0400

----------------------------------------------------------------------
 app/controllers/GroupController.php | 21 +++++++++++++++++----
 app/routes.php                      |  6 ++++++
 app/views/group/edit.blade.php      |  0
 app/views/group/summary.blade.php   |  0
 4 files changed, 23 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ff0e89d/app/controllers/GroupController.php
----------------------------------------------------------------------
diff --git a/app/controllers/GroupController.php 
b/app/controllers/GroupController.php
index 3d71837..0972d8c 100644
--- a/app/controllers/GroupController.php
+++ b/app/controllers/GroupController.php
@@ -15,17 +15,30 @@ class GroupController extends BaseController {
 
     public function createSubmit()
     {
-        // TODO: Write submission logic
+        // TODO: Get the group name and description
+        // TODO: Create the new group
+        // TODO: Get users to add
+        // TODO: Update membership of users in list
     }
 
-    public function editView()
+    public function editSubmit()
     {
-        // TODO: Write logic to load current group members
+        // TODO: Get users to edit
+        // TODO: Update membership of users in list
     }
 
     public function summaryView()
     {
-        // TODO: Write group display logic
+        // TODO: Determine if the user is a member of the group
+        // TODO: Determine if the user is owner of the group
+        // TODO: If not a member, load a page that says they cannot see the 
group
+        // TODO: If a standard member, display group name, description, 
members, projects(?) and experiments (?)
+        // TODO: If owner, display buttons to allow adding and removing members
+    }
+
+    protected function updateMembership() {
+        // TODO: Get users to update
+        // TODO: Update membership for selected users
     }
 
 }

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ff0e89d/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index bc9e744..cb7338e 100644
--- a/app/routes.php
+++ b/app/routes.php
@@ -119,6 +119,12 @@ Route::get("files/get","FilemanagerController@get");
  */
 Route::get("group/create", "GroupController@createView");
 
+Route::post("group/create", "GroupController@createSubmit");
+
+Route::get("group/view", "GroupController@viewView");
+
+Route::post("group/edit", "GroupController@editSubmit");
+
 /*
  * Compute Resources Routes
 */

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ff0e89d/app/views/group/edit.blade.php
----------------------------------------------------------------------
diff --git a/app/views/group/edit.blade.php b/app/views/group/edit.blade.php
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ff0e89d/app/views/group/summary.blade.php
----------------------------------------------------------------------
diff --git a/app/views/group/summary.blade.php 
b/app/views/group/summary.blade.php
new file mode 100644
index 0000000..e69de29

Reply via email to