Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
member_create accepts either the object's id or name, and have extra …
…validations. Even though its documentation said it accepted the object's id or name, this wasn't the case. This is fixed now. I've also added validations to check that the group, the object, and object_type exists and are valid. Now we always save the object's id in our members table, even if someone calls member_create passing its name as obj_id.
- Loading branch information
1 parent
f1ebfda
commit 28b54cf
Showing
2 changed files
with
64 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters