B briansol Well-known member Licensed customer Today at 4:08 AM #1 I have a rogue permission group entry that I don't know where it came from. I do not have any flag or IP related addons. How do i find where this is coming from?
I have a rogue permission group entry that I don't know where it came from. I do not have any flag or IP related addons. How do i find where this is coming from?
Itworx4me Well-known member Licensed customer Today at 4:41 AM #2 Easiest way to find it would be to enable development mode. Click on Permissions definitions Look for View county flag on post. Should tell you what addon the permission is coming from. Upvote 0 Downvote
Easiest way to find it would be to enable development mode. Click on Permissions definitions Look for View county flag on post. Should tell you what addon the permission is coming from.
B briansol Well-known member Licensed customer Today at 5:03 AM #3 i really don't want to turn my production site into debug mode. it must be stored in a db table some where? I'm looking but coming up short. Upvote 0 Downvote
i really don't want to turn my production site into debug mode. it must be stored in a db table some where? I'm looking but coming up short.
B briansol Well-known member Licensed customer Today at 5:18 AM #4 input type="radio" name="permissions[forum][viewCountryFlag]" value="allow" I should see a forum category viewCountryFlag in my db, and i don't. select * from xf_permission_entry_content where permission_id like '%Country%'; Click to expand... Empty set (0.000 sec) select * from xf_permission_entry where user_group_id = 5 and permission_id like '%Country%' order by permission_entry_id desc limit 1000; Click to expand... Empty set (0.001 sec) select * from xf_permission_entry where user_group_id = 5 and permission_id like '%Flag%' order by permission_entry_id desc limit 1000; Click to expand... Empty set (0.001 sec) Upvote 0 Downvote
input type="radio" name="permissions[forum][viewCountryFlag]" value="allow" I should see a forum category viewCountryFlag in my db, and i don't. select * from xf_permission_entry_content where permission_id like '%Country%'; Click to expand... Empty set (0.000 sec) select * from xf_permission_entry where user_group_id = 5 and permission_id like '%Country%' order by permission_entry_id desc limit 1000; Click to expand... Empty set (0.001 sec) select * from xf_permission_entry where user_group_id = 5 and permission_id like '%Flag%' order by permission_entry_id desc limit 1000; Click to expand... Empty set (0.001 sec)
B briansol Well-known member Licensed customer Today at 5:22 AM #5 looks like this is from DP CF addon, which i do have, so it's legit. Post in thread '[DigitalPoint] App for Cloudflare®' Jan 6, 2026 Ivancas said: Yes, but it should be overwritten by Never Click to expand... Maybe try rebuilding permissions? Honestly it's pretty cut and dry as far as the addon goes. This is the logic used to add the flag: HTML: <xf:if is="{{ $xf.visitor.hasPermission('forum', 'viewCountryFlag') }}"><xf:macro template="geo_macros" name="flag" arg-countryIso="{$post.Ip.Geo.country_iso}" /></xf:if> The $xf.visitor.hasPermission('forum', 'viewCountryFlag') function is the standard XenForo core function. For whatever reason, your setup thinks that the visitor has that permission... why that might be, I'm not sure... Upvote 0 Downvote
looks like this is from DP CF addon, which i do have, so it's legit. Post in thread '[DigitalPoint] App for Cloudflare®' Jan 6, 2026 Ivancas said: Yes, but it should be overwritten by Never Click to expand... Maybe try rebuilding permissions? Honestly it's pretty cut and dry as far as the addon goes. This is the logic used to add the flag: HTML: <xf:if is="{{ $xf.visitor.hasPermission('forum', 'viewCountryFlag') }}"><xf:macro template="geo_macros" name="flag" arg-countryIso="{$post.Ip.Geo.country_iso}" /></xf:if> The $xf.visitor.hasPermission('forum', 'viewCountryFlag') function is the standard XenForo core function. For whatever reason, your setup thinks that the visitor has that permission... why that might be, I'm not sure...