Open fredericalpers opened 11 months ago
@fredericalpers For this issue, I am working on it and will get back to you soon.
@fredericalpers We are facing a similar issue as mentioned before: https://github.com/onOffice-Web-Org/oo-wp-plugin/issues/663#issuecomment-1835724602 This API "https://apidoc.onoffice.de/actions/datensatz-lesen/read-user-rights/" be used to read out user-rights
However, the value passed in "userid" is the ID of "API-User" and cannot be obtained through "API secret" and "API token" in admin settings.
Please check with the IT department about the feasibility of obtaining "userId" through "API secret" and "API token"? => So we can continue investigating, planning, and estimating time.
@yeneastgate I will check and let you asap :)
Unfortunately this feature is blocked for now...
Initiative
Improve the usability of the onOffice for WP-Websites Plugin for a better user experience.
Epic
Implement a API user rights check.
User story
As a real estate agent using the onOffice for WP-Websites Plugin, I need a healthcheck feature that not only validates the correctness of my API token and secret but also ensures that my API user rights are configured accurately. This additional check will help prevent issues such as missing property data or contacts not displayin properly on my website due to incorrect user rights settings.
As part of my real estate business, I rely on the seamless integration between my onOffice enterprise account and my WordPress website through the onOffice for WP-Websites Plugin. While entering the API token and secret is crucial, its equally vital that the API user rights are configured correctly. Misconfigured rights can lead to data inconsistencies and hinder the smooth operation of my website.
I request the implementation of an API user right check in the plugin. This check should alert me when the API user rights are not set correctly, preventing potential disruptions in data transmission.
https://apidoc.onoffice.de/actions/datensatz-lesen/read-user-rights/
By implementing this API user right check, the onOffice for WP-Websites Plugin can offer real esatet agents a proactive way to ensure the correct configuration of API user rights, minimizing disruptions in data transmissions and contributing to a more reliable and user-friendly experience.
Tasks
• Develop logic for checking the correctness of API user rights. • Integrate the necessary modifications to the backend settings interface to accomodate the new API user right check functionality. • Implement real-time feedback mechanism to provide immediate alerts when API user rights are inccorectly configured. • Develop a notification mechanism to alert users immediately if the API user rights are not configured correctly.
Process Design
Button Test API user rights
API user rights check feedback