Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add the READMD.md file
Ioannis committed Feb 20, 2024
1 parent aa6e2df commit 0da100c
Showing 2 changed files with 12 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Lib/GrouperApiAccess.php
@@ -81,7 +81,7 @@ public function __construct(array $cfg)
* @return string Requests success or not
* @throws GrouperLiteWidgetException|JsonException
*/
public function addGrouperGroupMember(array $queryData)
public function addGrouperGroupMember(array $queryData): string
{
$groupName = $queryData['groupName'];
$actionEndpoint = "/groups/$groupName/members";
@@ -119,7 +119,7 @@ public function addGrouperGroupMember(array $queryData)
* @throws GrouperLiteWidgetException
*
*/
public function createGroupWithTemplate(array $queryData)
public function createGroupWithTemplate(array $queryData): array
{
//Currently, only supporting create group, need to test if update a group will work!

22 changes: 10 additions & 12 deletions README.md
@@ -1,16 +1,14 @@
# coManage Grouper
# COmanage Grouper Lite Widget Plugin

## Instructions:
### To use in coMananage:
* With your favorite command line tool, navigate to a directory you wish to use to house the coManage plugin.
* Copy the source files from the GrouperLite Plugin located at [https://github.internet2.edu/internet2/comanage-grouper-widget](https://github.internet2.edu/internet2/comanage-grouper-widget)
### To use in COManage:
* With your favorite command line tool, navigate to a directory you wish to use to house the COmanage plugin.
* Copy the source files from the GrouperLiteWidget Plugin located at [https://github.internet2.edu/internet2/comanage-grouper-widget](https://github.internet2.edu/internet2/comanage-grouper-widget)
* You can either download the source files as a ZipFile or Clone the directory from GitHub repository.
* ZipFile: unzip into a new ```GrouperLite/``` directory.
* Clone: ```git clone https://github.internet2.edu/internet2/comanage-grouper-widget GrouperLite/```
* ZipFile: unzip into a new `GrouperLiteWidget/` directory.
* Clone: `git clone https://github.internet2.edu/internet2/comanage-grouper-widget GrouperLiteWidget/`
* Copy the application location for symlinking below.
* Navigate to your coManage source directory.
* From the root of your coManage installation, go to the ```local/Plugin/``` directory.
* Symlink your GrouperLite location under the Plugin directory.
* ```ln -s <location-of-Plugin>/GrouperLite <location-of-coManage>/local/Plugin/GrouperLite```


* Navigate to your COmanage source directory.
* From the root of your COmanage installation, go to the `local/Plugin/` directory.
* Symlink your GrouperLiteWidget location under the Plugin directory.
* `ln -s <location-of-Plugin>/GrouperLiteWidget <location-of-COmanage>/local/Plugin/GrouperLiteWidget`

0 comments on commit 0da100c

Please sign in to comment.