I want to add custom shipping method to my store.
I tried to search for it in Google and found this articles
Create a Custom Shipping Method in OpenCart: Part One
Create a Custom Shipping Method in OpenCart: Part Two
it installed and works but when I want to edit it like add " Cost " and enable it I got:
Permission Denied!
You do not have permission to access this page, please refer to your system administrator.
i tried this solution but doesnt work :
You do not have permission to access this page, please refer to your system administrator
Related
I am using Drupal version 9.3.14 with Drupal commerce implemented in it.
I want to enable the functionality for user to create order without login. I.e. user should be able to create order or buy product from the site as a guest user. Right now new user needs to create an account before creating any order.
I made necessary changes in the checkout flow (/admin/commerce/config/checkout-flows) but after filling required information on the checkout form when it moves to order review page, it gives "Access Denied" page.
I have gone to the django-oscar dashboard and went to Fulfillment - > Partners,
there I created a partner and linked a user and gave a limited dashboard access.
Now I see that most of the drop-downs are not visible to them(partner), that's fine.This is due to the permission given 'Can access dashboard'.
But, when I go to add the products, I see only the Stock and Pricing tab is there on the left, but there is no tab for variants, how do I get it to show in the dashboard of the partner also?
Should I give any other permission for the user linked ?
According to the docs link https://django-oscar.readthedocs.io/en/releases-1.6/ref/apps/dashboard.html in the note it says The permission-based dashboard currently does not support parent or child products.Supporting this requires a modelling change. If you require this, please get in touch so we can first learn about your use case. , but how and whom do I contact?
Or can I extend some of the partner views to achieve this?
Is anyone aware of any Google API with the user scope (NOT the Admin API in the Directory SDK) that allows you to retrieve the custom employee attributes?
The G+ API seems to skip these
https://developers.google.com/+/web/api/rest/latest/people#resource
Our issue is that we don't want to grant access to the developer console, but rather do this PER-USER. I.E. a user logs into our app and we display to her the custom attributes for her G Suite account, but we do this as her (not as an approved API scope via the dev console).
Leaving this answer for anyone like me who finds this question.
The Directory API allows a user to query the custom attributes for their account even without any admin permissions at all.
https://developers.google.com/admin-sdk/directory/v1/reference/users/get
You need to ensure that projection is set to full and viewType is set to domain_public.
You may need to check the permissions for reading the custom attributes to ensure that a user is allowed to see theirs. We do this in the Google Cloud Directory Sync.
I have a group of user called "support". I want them to be able to log in the django admin site, view and modifiy the instances of the class "HelpContextual" of the application "support".
So I created a group "support" with the permission support | help contextual | Can change help contextual. The users can log in the django admin site, but they can't see any application.
I tried to give them all the permissions of the "support" application, but still, they can't see the support app. If I use a direct link to change a "help contextual" like this one : admin/support/helpcontextual/5/change/, I get a 403.
I feel like I'm missing something obvious... Can you point it to me ?
Make sure you have done the following steps.
Add group `Support.
Under available permissions select support | help contextual | Can change help contextual from Available Permissions and then make sure you have clicked on the arrow pointing to Change Permissions. This will move the specific permission to Change Permissions.
Click Save.
Create or open users.
Select Active and Staff Users.
Select Support from Available Groups and click the arrow pointing to Chosen Groups. This will move the Support group to Chosen Group.
Don't make any change to User Permissions unless you want to grant additional permissions to any specific user.
Click save.
Have the user logout and log back in.
Answered here https://stackoverflow.com/a/7021995/626748
I had a custom backend and removed the default django authentication backend...
I'm using Sitecore 7.2 and trying to allow a user to set things like datasources and some custom parameters on sublayouts in page editor mode. The user is a member of sitecore\Designer and sitecore\Author, but when that user tries to edit the component properties, the fields appear grayed out/disabled.
I am able to enable these options by setting a user as an admin, but don't want to grant quite that much power to this particular user.
Here is how tried it and it works on Sitecore 7.2
Create a new user called cbarnes (and in your case if there are other content editors)
Create a new Role - call it say SP Content Editor Authoring
Make that role a member of sitecore\Author and sitecore\Designer. This way it inherits everything from those two roles.
Make the user cbarnes one of the members of that role.
Lastly go to the security editor and give Write permission on the item after selecting the SP Content Editor Authoring Role under Roles and Users section.
Login as cbarnes user and check if it work!
Let us know if this works for you. Happy Sitecoring!
I actually ran into this same issue today on a 7.2 project. While my user had both the sitecore\Designer and sitecore\Author roles as a part of a client-specific author role I created, they were not able to edit rendering parameters.
By default, users in these roles have read-only access the Sitecore\Templates folder. Within this folder I had an additional folder named "Rendering Parameters" where I stored all my rendering parameters templates. I added Write access to the client-specific role for my "Rendering Parameters" template folder and users in that role can now edit and save rendering parameters without elevated permissions.
Use "Access Viewer" tool from Sitecore start menu to define why your user does not have required rights.
By default both roles sitecore\Designer and sitecore\Author have field read and field write access to Layout template section fields. But, it seems that roles have only read access to item that you are trying to edit. You can add write access to that item.
For more details look at Security Administrator´s Cookbook