Hi all I am currently working on [1]. First I tried to restrict using the can access call done using gitblit. But there gitblit is not passing the branch details to the can access method which is extensible. So the available option is writing a pre commit validation groovy and calling an AF service using that to validate the action. But this will include some network overhead.
Another solution is if possible mark the branch as read only. But I couldn't find a way to do this. Gitblit have ways to make a repo freeze. But that's for a repo not for a branch. So I am proceeding with the first solution (writing a pre commit validation groovy). Any suggestions would be appreciated. [1] https://wso2.org/jira/browse/APPFAC-2393 Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
