From 42582fef275dbf484091e749114db589de7be606 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Wed, 13 Dec 2017 14:11:43 -0500 Subject: [PATCH] Added glm-required class to css and "ThingsToGetTo.txt" file in the Misc directory. --- css/front.css | 3 +++ misc/ThingsToGetTo.txt | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 misc/ThingsToGetTo.txt diff --git a/css/front.css b/css/front.css index 7952a4ea..eeb9439f 100644 --- a/css/front.css +++ b/css/front.css @@ -34,6 +34,9 @@ .glm-form-textarea { width: 90%; } +.glm-required { + color: red !important; +} /* Member-Only Front Header */ #glm-member-front-header { diff --git a/misc/ThingsToGetTo.txt b/misc/ThingsToGetTo.txt new file mode 100644 index 00000000..d19d2250 --- /dev/null +++ b/misc/ThingsToGetTo.txt @@ -0,0 +1,34 @@ +Things we need to review and work on when time permits +------------------------------------------------------ + +* Check all occurrences of glm_members_locked_to_member_id and update logic to die if not locked to member and not an Admin or Manager + + This is only a problem if there is a failure to properly identify a logged in user who should only have access to their own member data. + The secondary check shown below tests for this by checking permission to use the "Members" menu. + + Check all add-ons for use of this filter + + This is a code segment that does a second check for a user who should have access to the "Members" menu. + + // Check if there's a logged in user who is locked to their own entity + $lockedToMember = apply_filters('glm_members_locked_to_member_id', false); + if ($lockedToMember) { + $memberID = $lockedToMember; + + // Next make darn't sure they are admin or members manager before checking for other member ID. + } elseif (!apply_filters('glm_members_menu_members', false) && !is_admin()) { + + wp_die('There has been a member access check failure. Please call for support.'); + + // Otherwise Check for other member selection options + } else { + + +* GLM Grid completion and testing + + +* Better management of when scripts and css are enqueued - Standardized + + Needs to be compliant with model redirection so that only those needed for the last model executed are enqueued. + + \ No newline at end of file -- 2.17.1