Edit permission in Access Level

Questions related to customising nuBuilder Forte with Javascript or PHP.

Re: Edit permission in Access Level

Postby kev1n » Tue Jun 11, 2019 9:56 pm

Example, insert in PHP BS .

Code: Select all
if (! nuHasNewRecordID() && "#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 Wed Jun 12, 2019 6:12 am, edited 1 time in total.
kev1n
 
Posts: 190
Joined: Mon Oct 15, 2018 2:13 am

Re: Edit permission in Access Level

Postby gerese » Wed Jun 12, 2019 5:30 am

Thanks kev1n! for code and for help.
nuBuilderForte .... BIG Like !!!
gerese
 
Posts: 12
Joined: Mon Dec 17, 2018 2:43 am

Re: Edit permission in Access Level

Postby Joshua » Wed Jun 12, 2019 9:53 am

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 1:15 pm

Re: Edit permission in Access Level

Postby Joshua » Sun Jun 16, 2019 2:49 pm

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.
Joshua
 
Posts: 5
Joined: Sun Jun 09, 2019 1:15 pm

Re: Edit permission in Access Level

Postby admin » Mon Jun 17, 2019 4:36 am

.
admin
Site Admin
 
Posts: 3077
Joined: Mon Jun 15, 2009 9:53 am

Previous

Return to Custom Code