Jump to content

ChonkyBiscuit

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ChonkyBiscuit

  • Rank
    Newbie
  1. ChonkyBiscuit

    Server-side merge and replicatewrite permissions

    From the comment from Rodger, I am in the _RW group, which has the `mergefrom` permission. I get the error 'You do not have permissions for operation mergefrom' whenever I try to do merge-to, and adding the permission for `replicatewrite` allows me to complete the transaction. I don't really know what else to say at this point. This has also happened on multiple repositories on the same server. If you have any advice on how to concretely verify where in the permission chain I might be missing the mergefrom permission, that would help immensely, but for right now, from my end, the permission viewer says I have the necessary mergefrom permission, the logs say I don't, and adding `replicatewrite` allows me to merge.
  2. ChonkyBiscuit

    Server-side merge and replicatewrite permissions

    The client logs don't seem to show much, and I'm attempting to get the server logs from the repository owner now. I can't reproduce this on my local server either, so I'm wondering if there is a 'deny' somewhere that I can't see? The solution that worked in this case was adding my user to br:/main (the branch to mergefrom) and the attached file has the list of permissions of the main branch. I was originally in the Plastic_Project_RW LDAP group, I am in no others that were listed. Relevant portions of the client debug log: 2018-10-11 14:42:21,904 DOMAIN\thisUser DEBUG PlasticPipe - sentb: 140|recb: 68|prt: 0|CalculateMerge|plastic-server:8087 2018-10-11 14:42:21,907 DOMAIN\thisUser DEBUG CmProxy - Error invoking CalculateMerge. You don't have permissions for operation mergefrom.. at c6.a(oo A_0, PlasticMethods A_1, Credentials A_2, w A_3, w A_4, Boolean A_5, abl& A_6) at c6.a(oo A_0, PlasticMethods A_1, Credentials A_2, w A_3, w A_4, abl& A_5) at c6.a(oo A_0, PlasticMethods A_1, Credentials A_2, w A_3, w A_4) at en.a.a(oo A_0, Credentials A_1) 2018-10-11 14:42:23,451 DOMAIN\thisUser ERROR plastic - Plastic SCM client version: 7.0.16.2562 2018-10-11 14:42:23,451 DOMAIN\thisUser ERROR plastic - Error message: You don't have permissions for operation mergefrom. 2018-10-11 14:42:23,492 DOMAIN\thisUser DEBUG plastic - StackTrace: at c6.a(oo A_0, PlasticMethods A_1, Credentials A_2, w A_3, w A_4, Boolean A_5, abl& A_6) at c6.a(oo A_0, PlasticMethods A_1, Credentials A_2, w A_3, w A_4, abl& A_5) at c6.a(oo A_0, PlasticMethods A_1, Credentials A_2, w A_3, w A_4) at en.a.a(oo A_0, Credentials A_1) at acm.a(a A_0, oo A_1, String A_2, b A_3, a A_4, UserInfo A_5, aft A_6, Boolean A_7) at acm.Invoke(a A_0, oo A_1, String A_2, b A_3, a A_4, UserInfo A_5, aft A_6) at en.a(oo A_0, PlasticMethods A_1, w A_2, w A_3) at qh.a(SerializedMergeSource A_0) at aiy.a(WorkspaceInfo A_0, MergeSource A_1) at k.a(MergeSource A_0, MountPointWithPath A_1) at qb.a(MergeSource A_0, MountPointWithPath A_1) at qb.a(Boolean A_0) repoPermissionsN.xml
  3. Server version: 7.0.16.2596 Windows Client version: 7.0.16.2421 I'm looking to use the server-side merge to automate merging main to a different branch, and it seems like it requires the `replicatewrite` permission to do so. If I try to merge server-side without that permission, it fails with the error 'You do not have permissions for operation mergefrom', even though I have that permission on the repo. Is this expected behavior? These are the commands I run to merge: cm merge br:/main@foo --to=br:/main/example@foo --merge --shelve -c="Local Shelve created for example branch" cm merge sh:## --to=br:/main/example@foo --merge
×