Using 2sxc 8.8 for DNN Evoq Content 8.3, is it possible to setup a role that will allow a user to see the buttons, edit and change template / layout, but does not allow them to "Edit Template" and give them "Admin" access?
This is very simple to do, because once a special user-group exists called "2sxc Designers", only these users will see the advanced buttons.
Check out http://swisschecklist.com/en/fwttmwjx/2sxc-Hide-advanced-features-from-Content-Editors-with-Designer-Security-Role
Related
The question is about the custom visualforce page in Salesforce. The page is created for getting contacts, opportunity, loans all are at a single dynamic link on the account named "Manage portal Access" Which comes under "Customer Portal Access" Tab like details and related list under "Account" Tab.The page was created to Manage the customer account, contacts and opportunities relationship. The page contains Email, Role, Last Login and a Toggle button as "Enabled".When this toggle button is enabled, those users have access to this portal relationship. It has respective apex class also.
The task here is, the toggle button can be enabled/disabled by some users, this want to be changed here by providing Read only access and assign two permission sets for edit access on this portal enable/disable.
" As a user I want Read Only Access to the portal tab. I want to be able to view all information on the tan and click through any dynamic links, but not be able to toggle the portal enable or un-portal enable any contacts. All Salesforce users should have a minimum of read only access to the Customer Portal Access Tab. The two permission below currently and should continue to provide edit access to the customer portal access section.
Create Customer Portal User
Document Manage Portal Admin "
Whether there is any customization option like providing access to objects in Salesforce through (Layouts, Fields FLS, Validation Rule)?
Or
-This can be achieved only through code on Visual force page and it's respective apex class, if this is the case how can I do it, whether there is any certain command or method for providing access or through controller class?
The "normal" object permissions (Create/Read/Update/Delete) and field level security (Read/Update) can be referenced in Visualforce. Something like this might be enough for you:
<apex:commandButton disabled="{!$ObjectType.Contact.fields.Role__c.updateable}">
Check the DescribeFieldResult in Apex reference. There's also something mentioned in VF developer guide but it's bit hidden and not as detailed: https://developer.salesforce.com/docs/atlas.en-us.234.0.pages.meta/pages/pages_variables_global_objecttype.htm
If you need more control than just whether field is editable or not - maybe look into Custom Permissions. They're your own checkboxes you add to Profile/Permission Set and you can check them in pure VF too, no apex required.
So... you decide. If most of the page is supposed to be identical, "just" about the button being enabled/disabled (or maybe even not rendered at all) - it's best to put the condition in the button. If it sounds like you need 2 different layouts - having 2 big blocks of code and one or another rendered might be cleaner to maintain and test.
P.S. Remember that good tester can activate the button using browser's developer tools. You should make similar "is field accessible / is custom permission assigned" check in Apex that runs on button click.
I would expect this would be easy but I can't seem to figure it out. Simple problem. I want to restrict access to a Drupal view as follows:
Only current users who are members of a custom role may access the view
OR
The view only displays content that is authored by the current user
The latter is easy, but restricting via current role is more problematic. Thoughts?
When you're looking at the Views admin screen (admin/structure/views/view/YOUR-VIEW/edit), look in the middle column and you should see an 'Access' option under the Page Settings heading. I believe by default it's set to Permission | Views Published Content; however, if you click Permission, you can then change this to Role, and select the desired role(s) that should be able to view this content. Hope that makes sense!
I am working on a project where my client has no idea about joomla admin panel.
So I have decided to provide a separate admin pannel which my client can access and manage few things.
I am also having multiple pages and sub-pages in this admin panel.
Lets say I want to give multiple manage links.
manage item
sub-menu
manage item 2
I am little confuse how do I do it, once I thought about component and moduel but I don't know how to add menu links in components for front end.
I am using joomla 3.0.
Many thanks in advance.
If your intention is creating a backend alternative to joomla to control joomla's frontend, this is a hard thing to do if you are just a e-commerce website developer.
But if you need a different account other than your administrator account, you can add one account and edit it's privileges.
A second admin panel for easier use? sorry that sounds not good. Just do it like serhat above said. make a new account for joomla admin-panel. cut of the privileges so the user see only the things he has access to! its better then coding a fully new admin panel. there is already a fully configurable panel so why do another one?
Give the users just what they have to see and hide the rest (via admin-privileges)
We need to add some custom profile properties to user accounts. So we have gone through Site Settings and added the Custom Profile Properties and made sure they are visible to all. What expect is that now a user can go to Edit Profile and those new custom profile properties can be set. It doesnt happen. What are we missing?
Depending on your version of DNN there are a few things that could be happening.
Be sure to clear the cache, and/or restart the application to ensure that the list is current
Check to see if your site is using anything for a custom profile module. (Either customized registration form via Admin -> Site Settings -> User Accounts or possibly using Dynamic Registration or otherwise.) If using a custom form you will need to update it as well
I'd like "Content Managers" of my DNN website to edit just the content of a particular HTML module instance, but not its settings. How do I achieve this? If I allow this role to "Edit" the module, they are able to access and change the module settings as well.
Thanks in advance for your inputs.
This can be achieved with DotNetNuke Professional edition using the extended granular permissions.
Or by using Oliver Hine's Enhanced Permission Provider for DotNetNuke.
you can achive this by adding your own its called "custom permission" to a module. (I can show you how you will achive this if you are interrested)
If you do this you will see in the settings of the module after the "edit" column of the permission section your custom created permission.
In your code you can then check if the current logged in user has got this permission and react making grids editable or not for example.
//get the moduleconfiguration
ModuleInfo conf = this.ModuleConfiguration;
ModulePermissionCollection myPermissionCollection = ModuleConfiguration.ModulePermissions;
//read out the custom data editright of the global constant
bool bCustomEditDataRights = ModulePermissionController.HasModulePermission(myPermissionCollection, "MyCustomPermission");
Hope this helps.
best regards, noone