title: How to integrate User permissions in Ldap
body: <p>My target it so assign to user permissions. For example:</p>
  
  <p>User "John" belong to role ROLE_CUSTOMERS and have the permissions of: 'READ_MAILS", 'ADD_MAILS'.</p>
  
  <p>User "David" belong to role ROLE_USERS and have the permissions of: 'DELETE_MAILS'</p>
  
  <p>I managed to map users and roles to the ldap directory.
  Users -> John,David
  Groups -> ROLES_CUSTOMER,ROLE_USERS</p>
  
  <p>But I am missing the permissions part.</p>
  
  <p>I don't know how to declare the 'READ_MAILS", 'DELETE_MAILS','ADD_MAILS' attributes/permissions/task or however you call it.</p>
  
  <ol>
  <li><p>How I assign each permission to a user at the ldap side?</p></li>
  <li><p>How ill be able to retrieve those permissions in the spring security side before letting a specific user do some operation.</p></li>
  </ol>
  
  <p>*I am not sure this requirement I am looking for called 'permission' please correct me if I wrong.</p>
  
  <p>thanks,
  ray.</p>