Custom permission in share

Showing results for 
Search instead for 
Did you mean: 
Member II

Custom permission in share

Hello everyone,

I am trying to find out the list of custom permissions so that we can assign to a document except provided by out of the box model.  Also trying to add one custom permission using this . But also getting this error "Error creating bean with name 'custom_permissionDefinition' defined in class path resource". 

Please help me to make list of it and solving the error.