Fixed Subversion Access -> Grant Access
azbok - December 7, 2007 - 04:08
| Project: | Subversion |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
When I edit a project and try to grant someone access, it doesn't insert anything into the subversion_project_maintainers database table. When I manually add a node/uid then that user is listed. The code to do the insert is in subversion_project_access_submit(), but it isn't actually called upon the submit. Anyone have any ideas?
azbok

#1
The form validate and submit functions weren't being called due to function naming
It turns out there's a simple fix to get Grant Access to work:
Rename: function subversion_project_access_validate
to: function subversion_project_access_form_validate
Rename: function subversion_project_access_submit
to: function subversion_project_access_form_submit
That's it