• Permission In Interger value

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #6721  by Viral Raithatha
 
Hello to all,
BytePairArray getGrantedRoles(String token, String nodePath) in OKMAuth is return role and permission.

Permission in int. so I want to khow in depth about permission,

For different rights which int value is used?
if any int permission is return any function then what the mean by that int (which permission)?

Thank you,
Viral Raithatha
 #6747  by jllort
 
You're interested in Permision.java class where's declared the permissions constant values:

public static final byte READ = 1;
public static final byte WRITE = 2;
public static final byte DELETE = 4;
public static final byte SECURITY = 8;

If you want to take a look at class in source code is in com.openkm.bean.Permission

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.