##// END OF EJS Templates
api: deprecation, of members attribute that is replaced now with permissions returning a set of permissions...
marcink -
r2436:6d80a582 default
parent child Browse files
Show More
@@ -214,7 +214,6 b' def get_repo(request, apiuser, repoid, c'
214 if not cache:
214 if not cache:
215 repo.update_commit_cache()
215 repo.update_commit_cache()
216 data = repo.get_api_data(include_secrets=include_secrets)
216 data = repo.get_api_data(include_secrets=include_secrets)
217 data['members'] = permissions # TODO: this should be deprecated soon
218 data['permissions'] = permissions
217 data['permissions'] = permissions
219 data['followers'] = following_users
218 data['followers'] = following_users
220 return data
219 return data
@@ -119,7 +119,7 b' def get_repo_group(request, apiuser, rep'
119 permissions.append(user_group_data)
119 permissions.append(user_group_data)
120
120
121 data = repo_group.get_api_data()
121 data = repo_group.get_api_data()
122 data["members"] = permissions # TODO: this should be named permissions
122 data["permissions"] = permissions
123 return data
123 return data
124
124
125
125
@@ -119,7 +119,7 b' def get_user_group(request, apiuser, use'
119 permissions.append(user_group_data)
119 permissions.append(user_group_data)
120
120
121 data = user_group.get_api_data()
121 data = user_group.get_api_data()
122 data['members'] = permissions
122 data["permissions"] = permissions
123
123
124 return data
124 return data
125
125
General Comments 0
You need to be logged in to leave comments. Login now