{"id":417531,"date":"2026-12-05T18:49:52","date_gmt":"2026-12-05T18:49:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/order-staff-wc-admin-access-fix\/"},"modified":"2026-12-05T18:49:19","modified_gmt":"2026-12-05T18:49:19","slug":"ordexa-staff-access-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ordexa-staff-access-for-woocommerce\/","author":11237862,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Ordexa Staff Access for WooCommerce","header_author":"Fahad Mahmood","header_description":"Stops the 403 errors on \/wc-admin\/options for staff roles that can handle WooCommerce orders but do not have manage_woocommerce. Read-only, allowlist based, no capability changes.","last_updated":"2026-12-05 18:49:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/fahadmahmood\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":37,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"fahadmahmood","date":"2026-12-05 18:49:19","revision":3846715}},"upgrade_notice":{"1.0.1":"<p>Text domain now matches the plugin slug. No settings changes.<\/p>","1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3846715,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3846715,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3846715,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3846715,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3846715,"resolution":"1","location":"assets","locale":"","width":1280,"height":800},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3846715,"resolution":"2","location":"assets","locale":"","width":1280,"height":800},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3846715,"resolution":"3","location":"assets","locale":"","width":1280,"height":800},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3846715,"resolution":"4","location":"assets","locale":"","width":1280,"height":800}},"screenshots":[]},"plugin_section":[],"plugin_tags":[14905,16281,23853,11917,286],"plugin_category":[45],"plugin_contributors":[79969,231855],"plugin_business_model":[],"class_list":["post-417531","plugin","type-plugin","status-publish","hentry","plugin_tags-14905","plugin_tags-orders","plugin_tags-rest-api","plugin_tags-user-roles","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-fahadmahmood","plugin_contributors-invoicepress","plugin_committers-fahadmahmood"],"banners":{"banner":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/banner-772x250.png?rev=3846715","banner_2x":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/banner-1544x500.png?rev=3846715","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/icon-128x128.png?rev=3846715","icon_2x":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/icon-256x256.png?rev=3846715","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/screenshot-1.png?rev=3846715","caption":""},{"src":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/screenshot-2.png?rev=3846715","caption":""},{"src":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/screenshot-3.png?rev=3846715","caption":""},{"src":"https:\/\/ps.w.org\/ordexa-staff-access-for-woocommerce\/assets\/screenshot-4.png?rev=3846715","caption":""}],"raw_content":"<!--section=description-->\n<p>Do you run a store where support or warehouse staff can edit orders, but should never change store settings? Then you probably gave them a custom role with order capabilities (<code>edit_shop_orders<\/code>, <code>edit_others_shop_orders<\/code>, <code>read_shop_order<\/code>) and left out <code>manage_woocommerce<\/code>. That is the right way to do it, but WooCommerce then fills your server logs with errors.<\/p>\n\n<p><strong>The problem:<\/strong> every time such a user opens the Orders list or an order screen, WooCommerce's own admin scripts ask <code>\/wp-json\/wc-admin\/options<\/code> for a few internal options. That route needs <code>manage_woocommerce<\/code>, so it answers <strong>403 Forbidden<\/strong>. Order handling still works, but you get hundreds of error lines a day, red errors in the browser console, and noise that can trip firewalls and monitoring.<\/p>\n\n<p><strong>The fix:<\/strong> this plugin answers those few harmless, read-only requests for order-only staff, so the 403 errors stop. Nothing else changes.<\/p>\n\n<h4>What you get<\/h4>\n\n<ul>\n<li>No more 403 errors on <code>\/wc-admin\/options<\/code> for order-only staff.<\/li>\n<li>Staff keep their limited role. They do not get <code>manage_woocommerce<\/code> and still cannot open WooCommerce settings.<\/li>\n<li>Works with custom roles built with plugins such as Members or User Role Editor.<\/li>\n<li>Safe by design: a short allowlist, read-only requests only, and empty placeholder answers instead of real option values.<\/li>\n<li>Clear settings page that shows whether the fix is active and which roles it covers.<\/li>\n<li>Steps aside automatically if a future WooCommerce version already allows the request.<\/li>\n<li>No external services, no tracking, no ads.<\/li>\n<\/ul>\n\n<h4>How it works<\/h4>\n\n<p>The plugin answers a request only when all of these are true:<\/p>\n\n<ul>\n<li>it is a <code>GET<\/code> request to <code>\/wc-admin\/options<\/code>;<\/li>\n<li>the user is logged in, does not have <code>manage_woocommerce<\/code>, and has at least one configured order capability (by default <code>edit_shop_orders<\/code> or <code>read_shop_order<\/code>);<\/li>\n<li>every option name in the request is on the allowlist (by default <code>woocommerce_ces_tracks_queue<\/code>, <code>woocommerce_admin_transient_notices_queue<\/code> and <code>woocommerce_admin_install_timestamp<\/code>);<\/li>\n<li>WooCommerce itself would still refuse the request.<\/li>\n<\/ul>\n\n<p>Allowed options are answered with empty placeholder values. Real option values are never returned, no permissions are granted, and write requests are never touched.<\/p>\n\n<h4>Compatibility<\/h4>\n\n<ul>\n<li>WooCommerce High-Performance Order Storage (HPOS) and the Cart and Checkout Blocks: compatible and declared. The plugin does not read or write orders and does not touch the cart or checkout.<\/li>\n<li>Multisite: works, including network activation. Settings are stored per site.<\/li>\n<li>Requires WooCommerce to be active.<\/li>\n<\/ul>\n\n<h4>Credits<\/h4>\n\n<ul>\n<li>Author: <a href=\"https:\/\/www.androidbubbles.com\/contact\">Fahad Mahmood<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>, or install it from the Plugins screen in WordPress.<\/li>\n<li>Activate the plugin. The defaults work without any configuration.<\/li>\n<li>Optional: open Settings &gt; Ordexa Staff Access to see which roles are covered, or to change the capability list or the allowlist.<\/li>\n<li>Log in as an order-only staff user, open WooCommerce &gt; Orders, and check that the 403 responses to <code>\/wp-json\/wc-admin\/options<\/code> are gone.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20do%20my%20order-only%20staff%20get%20a%20403%20on%20%2Fwc-admin%2Foptions%3F\"><h3>Why do my order-only staff get a 403 on \/wc-admin\/options?<\/h3><\/dt>\n<dd><p>WooCommerce lets users with order capabilities (such as <code>edit_shop_orders<\/code>) open the Orders list and the order edit screen. The scripts on those screens then request <code>\/wp-json\/wc-admin\/options?options=woocommerce_ces_tracks_queue<\/code> and similar, and that route only allows users with <code>manage_woocommerce<\/code>. So the same user is allowed onto the screen, but not allowed to read the data the screen asks for. This plugin closes that gap for a short list of harmless options.<\/p><\/dd>\n<dt id=\"order%20handling%20works%20fine.%20why%20does%20this%20matter%3F\"><h3>Order handling works fine. Why does this matter?<\/h3><\/dt>\n<dd><p>Order handling is not affected, but the failed requests are logged on every page load. One reported store saw about 200 errors a day from its customer service staff. That noise hides real problems and can trigger firewall, rate limit or monitoring alerts.<\/p><\/dd>\n<dt id=\"does%20this%20make%20my%20staff%20shop%20managers%20or%20give%20them%20manage_woocommerce%3F\"><h3>Does this make my staff shop managers or give them manage_woocommerce?<\/h3><\/dt>\n<dd><p>No. Staff keep exactly the permissions they had. They still cannot open WooCommerce settings or change store options.<\/p><\/dd>\n<dt id=\"are%20those%20options%20really%20harmless%3F\"><h3>Are those options really harmless?<\/h3><\/dt>\n<dd><p>The default allowlist contains three internal options: a survey tracking queue, a notices queue and an install timestamp. The plugin does not even return their real values. It answers with empty placeholders, which is all the order screens need to stop failing.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20a%20role%20created%20with%20the%20members%20plugin%3F\"><h3>Does it work with a role created with the Members plugin?<\/h3><\/dt>\n<dd><p>Yes. The plugin checks capabilities, not role names, so it works with roles made by Members, User Role Editor or any other role plugin. By default a user is covered if they have <code>edit_shop_orders<\/code> or <code>read_shop_order<\/code> and do not have <code>manage_woocommerce<\/code>. You can change the capability list in the settings.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20hpos%20%28high-performance%20order%20storage%29%3F\"><h3>Does it work with HPOS (High-Performance Order Storage)?<\/h3><\/dt>\n<dd><p>Yes. The reported problem happens with HPOS enabled, and the plugin is compatible with it. It does not read or write order data.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20cart%20and%20checkout%20blocks%3F\"><h3>Does it work with the Cart and Checkout Blocks?<\/h3><\/dt>\n<dd><p>Yes. The plugin only deals with an admin REST route and does not touch the cart or checkout. Compatibility with the Cart and Checkout Blocks is declared.<\/p><\/dd>\n<dt id=\"will%20woocommerce%20fix%20this%20itself%3F\"><h3>Will WooCommerce fix this itself?<\/h3><\/dt>\n<dd><p>Possibly. WooCommerce could either stop requesting these options for users without <code>manage_woocommerce<\/code>, or allow these harmless options for users who can open the order screens. If WooCommerce starts allowing the request, this plugin does nothing and you can remove it.<\/p><\/dd>\n<dt id=\"i%20still%20see%20a%20403%20for%20a%20different%20option.%20what%20do%20i%20do%3F\"><h3>I still see a 403 for a different option. What do I do?<\/h3><\/dt>\n<dd><p>Open Settings &gt; Ordexa Staff Access and add the option name to the allowlist, one per line. A request is answered only if every option in it is on the list, so a request that mixes an allowed option with an unlisted one still gets WooCommerce's normal answer. Only add harmless, internal options.<\/p><\/dd>\n<dt id=\"how%20can%20i%20check%20that%20it%20works%3F\"><h3>How can I check that it works?<\/h3><\/dt>\n<dd><p>Create a role with <code>read<\/code>, <code>edit_shop_orders<\/code>, <code>edit_others_shop_orders<\/code> and <code>read_shop_order<\/code> (and no <code>manage_woocommerce<\/code>), log in as a user with that role, open WooCommerce &gt; Orders and then an order, and look at the browser console or your server log. The 403 responses to <code>\/wp-json\/wc-admin\/options<\/code> should be gone.<\/p><\/dd>\n<dt id=\"does%20it%20work%20on%20multisite%3F\"><h3>Does it work on multisite?<\/h3><\/dt>\n<dd><p>Yes. You can network activate it. Settings are stored per site and are removed from every site when the plugin is deleted.<\/p><\/dd>\n<dt id=\"does%20it%20send%20any%20data%20anywhere%3F\"><h3>Does it send any data anywhere?<\/h3><\/dt>\n<dd><p>No. The plugin makes no external requests, loads no remote code, stores no personal data and keeps one settings option in your database.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Plugin slug and text domain are now <code>ordexa-staff-access-for-woocommerce<\/code>, as requested by the Plugins Team, so translations work through wordpress.org.<\/li>\n<li>Renamed the denied request log screen to match the plugin name.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<li>Stops 403 errors on <code>GET \/wc-admin\/options<\/code> for order-only staff without <code>manage_woocommerce<\/code>.<\/li>\n<li>Strict allowlist, read-only, with empty placeholder answers and no permission changes.<\/li>\n<li>Settings page with status box, covered roles, help text, Help tab and Restore defaults.<\/li>\n<li>Compatible with HPOS and the Cart and Checkout Blocks, and works on multisite.<\/li>\n<\/ul>","raw_excerpt":"Let your customer service staff work on WooCommerce orders without 403 errors, and without giving them manage_woocommerce.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/417531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=417531"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fahadmahmood"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=417531"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=417531"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=417531"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=417531"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=417531"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=417531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}