Commit 9e160605 authored by Nastuzzi Samy's avatar Nastuzzi Samy

Allow modification without full rights

The application disallowed people with only full rights on few foundations to make modifications
parent 803b4173
......@@ -125,6 +125,18 @@ public abstract class BaseActivity extends InternetActivity {
if (!needToBeSuper) {
for (JsonNode foundation : myRightList) {
if (rightList.length == 0 && foundation.size() > 75) {
runOnUiThread(new Runnable() {
@Override
public void run() {
dialog.stopLoading();
runnable.run();
}
});
return;
}
for (JsonNode myRight : foundation) {
if (rights.contains(myRight.textValue()) && !sameRights.contains(myRight.textValue()))
sameRights.add(myRight.textValue());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment