The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page permissions
#1
Good Afternoon,
I am having some difficulty controlling access. If I have some custom pages, I put them public_html/users, then assign permissions in the dashboard under the pages tab.

If I have users of admin and customer, and I do not wish the customer to see a page called say, secret.PHP, I would put the page in public_html/users and make the page private and give access to admin and not the customer.
Am I right? I think I am going slightly mad.

I have the following at the top of each page:
Code:
<?php require_once 'init.php'; ?>
Code:
<?php require_once $abs_us_root.$us_url_root.'users/includes/header.php'; ?>
Code:
<?php require_once $abs_us_root.$us_url_root.'users/includes/navigation.php'; ?>
Does anyone have any idea where I am going wrong please?
Scott
  Reply


Messages In This Thread
Page permissions - by scott - 05-27-2017, 11:01 AM
Page permissions - by scott - 05-27-2017, 01:51 PM
Page permissions - by Brandin - 05-27-2017, 02:58 PM
Page permissions - by scott - 05-27-2017, 03:43 PM
Page permissions - by mudmin - 05-29-2017, 11:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)