#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Apr 25, 2014 15:22:55 GMT -8
I don't know if I'm missing something that's glaringly obvious, but is there a way to know if you are viewing a restricted board? Specifically a board that is hidden to all but staff.
Thank you to whoever can help.
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Apr 27, 2014 13:46:13 GMT -8
No help other than to let you know someone has read this! But, I had a quick look around and I can't see anything to indicate it being a restricted board either.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Apr 28, 2014 8:40:28 GMT -8
pb.data('page').board.hidden That will tell you if a board is set to be a hidden board, but I don't think permissions are exposed to the JS other than that, really.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Apr 28, 2014 9:01:21 GMT -8
Yep, I found that, but unfortunately that doesn't help me much. Never mind, I can get over it in other ways.. Thanks Tim Camara and Pebble
|
|