Hi,
It seems that my pxxxtrial user is missing the basic package privileges on the root package.
When trying to share the "hello world" project from within eclipse luna, I get the following error:
Authorization 'REPO.MAINTAIN_NATIVE_PACKAGES' missing for package 'hello_world' or one of its parent packages.
Keep in mind I could create the packages via Eclipse without issue and they correctly appear in the online IDE. So I'm guessing at least some of the privileges were granted.
Since sharing the project failed, as
, I created the files locally then uploaded them in the packages via the online IDE. For the project's package it went fine, and that enabled me to call the HCP_GRANT_ROLE_TO_USER in the SQL console, but it didn't solve the MAINTAIN_ issue.So I figured maybe I'm missing privilege on another package as the error message said; I adjusted the files accordingly and uploaded on the parent package - it went fine. Then I tried the same on the root package, and this time it gave the following:
Repository: User is not authorized to execute specified operation; User 'DEV_xxx' has no authorization, privilege: 'REPO.EDIT_NATIVE_OBJECTS', package: 'pxxxtrial'
So I'm guessing the privileges are all OK on the packages I created, but some are missing the root.
I tried adding roles/authorizations in the HANA cockpit, but there is no role to select so I can't add anything.
Any chance somebody would know the SQL query that would grant me the missing authorizations, provided we can alter our own user's roles?
It looks like others had similar issues in the past (1, ,...), and it got solved by SAP fixing the eclipse tools. I already checked and there are no updates available. Would anyone know if another fix like that is coming soon?
Many thanks in advance!
Kr,
Jonathan