Page 2 of 2

Re: Edit permission in Access Level

Posted: Tue Jun 11, 2019 2:26 pm
by kev1n
Example, insert in PHP BS .

Code: Select all

if (! nuHasNoRecordID() && "#ACCESS_LEVEL_CODE#" == "Basic User" ) { // not a new record and access level equals "Basic User"
	nuDisplayError("Saving is not possible anymore...");
}

Re: Edit permission in Access Level

Posted: Tue Jun 11, 2019 10:00 pm
by gerese
Thanks kev1n! for code and for help.

Re: Edit permission in Access Level

Posted: Wed Jun 12, 2019 2:23 am
by Joshua
Thanks guys for all the suggestions! I will need some time to apply and test all these ideas.

Blessings to you all. :) :D

Re: Edit permission in Access Level

Posted: Sun Jun 16, 2019 7:19 am
by Joshua
Ok I've tested kev1n code and it works perfectly! Thx man.

Thx again everybody for your answers. Now I can move on to my next problems. :)

Blessings to you all.
Joshua.

Re: Edit permission in Access Level

Posted: Sun Jun 16, 2019 9:06 pm
by admin
.