You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We added more advanced role and user based access in #606. In testing something else today, I noticed that if I uncheck the Classify content option for the Watson NLU feature but I leave the Enable role-based access option on and set to my role, the ClassifAI panel still shows in the editor, though it is empty. Seems we should remove this panel all together if it isn't needed.
In addition, also noticed that the language-processing.css file seems to load if the NLU feature is turned off but the role-based access is turned on. Wondering if we have some sort of conditional that needs fixed up to ensure the main feature toggle takes precedence and then we look at user and role based access only if the feature is turned on.
Steps to Reproduce
Uncheck the Classify content option for the NLU feature
Check Enable role-based access
Ensure your role is in the allowed list
Go to a post and see the ClassifAI panel in the sidebar
Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
We added more advanced role and user based access in #606. In testing something else today, I noticed that if I uncheck the
Classify content
option for the Watson NLU feature but I leave theEnable role-based access
option on and set to my role, the ClassifAI panel still shows in the editor, though it is empty. Seems we should remove this panel all together if it isn't needed.In addition, also noticed that the
language-processing.css
file seems to load if the NLU feature is turned off but the role-based access is turned on. Wondering if we have some sort of conditional that needs fixed up to ensure the main feature toggle takes precedence and then we look at user and role based access only if the feature is turned on.Steps to Reproduce
Classify content
option for the NLU featureEnable role-based access
Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: