Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Edit permission in Access Level

Questions related to customising nuBuilder Forte with JavaScript or PHP.
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Edit permission in Access Level

Unread post 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...");
}
Last edited by kev1n on Sat Aug 29, 2020 6:17 pm, edited 2 times in total.
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Edit permission in Access Level

Unread post by gerese »

Thanks kev1n! for code and for help.
nuBuilderForte .... BIG Like !!!
Joshua
Posts: 5
Joined: Sun Jun 09, 2019 5:45 am

Re: Edit permission in Access Level

Unread post 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
Joshua
Posts: 5
Joined: Sun Jun 09, 2019 5:45 am

Re: Edit permission in Access Level

Unread post 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.
admin
Site Admin
Posts: 2822
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: Edit permission in Access Level

Unread post by admin »

.
Post Reply