Details

    Description

      Found by arafat2198:

      We have a class named as RangerAccessPolicy which has a method deserializePolicyFromJsonString that takes in a parameter of type JsonObject which is a representation of JSON data in memory and is a part of the GSON lib

      deserializePolicyFromJsonString is part of the AccessPolicy interface, too.

      Previously it was used by MultiTenantAccessAuthorizerRangerPlugin, which was removed in HDDS-6909.

      smeng, can you please help us understand if AccessPolicy#deserializePolicyFromJsonString is still needed or can be removed?

      We should strive to avoid using types defined in third-party libraries as part of public API. Such usage may cause trouble when trying to upgrade/replace these dependencies.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: