Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how can i change permission from databasehow can i change permission from database
Previous
 
Next
New Post
4/16/2013 12:29 AM
 

Hello

I need to remove permission of a page (not from UI it should disable from database), i do not want to show a page to all user  it should only visible to admin. And this all the task i want to do from database.

Is there any way to change permission from database table. if there is any way so in which table will i need to update and what is to update....

thanks

Shailendra

 
New Post
4/17/2013 3:01 AM
 
Hi Shailendra,

You can set the page permission by modifying the "dbo.TabPermission" table of dotnetnuke. Here, in this table you can change the field "PermissionId" for different permissions. To look into the detail of PermissionId, you can view the table"dbo.Permission" of dotnetnuke.

Hopefully, it will help you.

Thanks,
Avinash Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
4/17/2013 3:05 AM
 
Shailendra,

I would not recommend doing that in the DB - that is a typical case for using the UI, so why do you want to do that in the DB?

Anyway, if you do so: after you have finished, be sure to clear the cache and recycle the AppPool (from the "Tools" menu when you're logged in as host).

Best wishes
Michael

Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
4/17/2013 3:27 AM
 

Yes, clearing cache is always a better way particularly when we do any changes form backend, before restarting the website.

Thanks,
Avinash Kumar [ DNN Developer, Mindfire Solutions,India

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how can i change permission from databasehow can i change permission from database


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out