Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission check #7

Open
xchs opened this issue Aug 31, 2018 · 4 comments
Open

Permission check #7

xchs opened this issue Aug 31, 2018 · 4 comments
Assignees
Labels
bug Something isn't working Tapatalk API

Comments

@xchs
Copy link
Contributor

xchs commented Aug 31, 2018

When I try to post with the release publisher tool in an internal/hidden forum (for which I have access rights, of course), I get the following error message:

In Assertion.php line 96:

  [Netzmacht\Tapatalk\Api\Exception\PermissionDeniedException]
  You may not have permission to do this action.


Exception trace:
 Netzmacht\Tapatalk\Assertion->createException() at /release-publisher/vendor/netzmacht/tapatalk-client-api/src/Netzmacht/Tapatalk/Assertion.php:59
 Netzmacht\Tapatalk\Assertion->resultSuccess() at /release-publisher/vendor/netzmacht/tapatalk-client-api/src/Netzmacht/Tapatalk/Api/Posts.php:281
 Netzmacht\Tapatalk\Api\Posts->replyTo() at /release-publisher/src/Publisher/Tapatalk/PostPublisher.php:38
 App\Publisher\Tapatalk\PostPublisher->createEntry() at /release-publisher/src/Publisher/Tapatalk/AbstractPublisher.php:103
 App\Publisher\Tapatalk\AbstractPublisher->publish() at /release-publisher/src/Publisher/DelegatingPublisher.php:62
 App\Publisher\DelegatingPublisher->publish() at /release-publisher/src/Command/PublishReleaseNotesCommand.php:112
 App\Command\PublishReleaseNotesCommand->execute() at /release-publisher/vendor/symfony/console/Command/Command.php:251
 Symfony\Component\Console\Command\Command->run() at /release-publisher/vendor/symfony/console/Application.php:886
 Symfony\Component\Console\Application->doRunCommand() at /release-publisher/vendor/symfony/console/Application.php:262
 Symfony\Component\Console\Application->doRun() at /release-publisher/vendor/symfony/console/Application.php:145
 Symfony\Component\Console\Application->run() at /release-publisher/bin/release-publisher:70
 App\{closure}() at /release-publisher/bin/release-publisher:71
@dmolineus
Copy link
Member

At the moment there is no readable error handling at all. They throw exeptions.

I guess you haven't defined your credentials?

@dmolineus dmolineus self-assigned this Aug 31, 2018
@dmolineus dmolineus added the enhancement New feature or request label Aug 31, 2018
@xchs
Copy link
Contributor Author

xchs commented Aug 31, 2018

I guess you haven't defined your credentials?

No, I have specified the same credentials in the configuration as when posting in a public forum area (where it works, of course).

@dmolineus
Copy link
Member

internal/hidden forum (for which I have access rights, of course)

Oh, I missed the internal forum part. Not sure if I can do anything here as I guess it's an issue of the tapatalk API (By interest: Do you use the tapatalk app and can post in the hidden forum?)

@dmolineus dmolineus added bug Something isn't working question Further information is requested and removed enhancement New feature or request labels Aug 31, 2018
@xchs
Copy link
Contributor Author

xchs commented Aug 31, 2018

Do you use the tapatalk app and can post in the hidden forum?

You are right. It's the same problem there in the app. 😄

@dmolineus dmolineus added Tapatalk API and removed question Further information is requested labels Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Tapatalk API
Projects
None yet
Development

No branches or pull requests

2 participants