Rewrite the get_all_permissions function
Rewrite the get_all_permissions function

Sorted the permission list with the same api.

JIRA: PDC-1066

release-engineering/product-definition-center,product-definition-center/product-definition-center,release-engineering/product-definition-center,product-definition-center/product-definition-center,product-definition-center/product-definition-center,pombredanne/product-definition-center,release-engineering/product-definition-center,release-engineering/product-definition-center,pombredanne/product-definition-center,product-definition-center/product-definition-center,pombredanne/product-definition-center,pombredanne/product-definition-center